Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 190.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.2 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 64.58 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2425, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0161/0.2586, allocations: 15.66 MB / 0.798 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.2698, allocations: 7.472 MB / 0.8053 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.2706, allocations: 15.88 kB / 0.8053 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.2715, allocations: 218.9 kB / 0.8055 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.273, allocations: 0.5596 MB / 0.806 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.2747, allocations: 0.6118 MB / 0.8066 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.276, allocations: 1.294 MB / 0.8079 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.2764, allocations: 295.7 kB / 0.8082 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.2769, allocations: 378.4 kB / 0.8085 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.2773, allocations: 326.5 kB / 0.8088 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.2774, allocations: 16 kB / 0.8089 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.2784, allocations: 0.5848 MB / 0.8094 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.2786, allocations: 91.59 kB / 0.8095 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.2788, allocations: 218.7 kB / 0.8097 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.2797, allocations: 0.7243 MB / 0.8104 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2797, allocations: 4 kB / 0.8104 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2797, allocations: 4 kB / 0.8104 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2797, allocations: 7.938 kB / 0.8104 GB, free: 1.5 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001244/0.281, allocations: 0.8213 MB / 0.8112 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.281, allocations: 8.031 kB / 0.8113 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.2811, allocations: 56.28 kB / 0.8113 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.2817, allocations: 413.1 kB / 0.8117 GB, free: 124 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2817, allocations: 24.44 kB / 0.8117 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.2817, allocations: 28 kB / 0.8117 GB, free: 72 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.2822, allocations: 211.2 kB / 0.812 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2822, allocations: 0 / 0.812 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.2822, allocations: 8 kB / 0.812 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2822, allocations: 4 kB / 0.812 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.2826, allocations: 165.6 kB / 0.8121 GB, free: 15.69 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.2841, allocations: 0.9419 MB / 0.813 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.2844, allocations: 138.5 kB / 0.8132 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.2846, allocations: 68.81 kB / 0.8132 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.2849, allocations: 344.5 kB / 0.8136 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2849, allocations: 30.56 kB / 0.8136 GB, free: 14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.2849, allocations: 0 / 0.8136 GB, free: 14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0005963/0.2855, allocations: 240.4 kB / 0.8138 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.2856, allocations: 55.41 kB / 0.8139 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.2861, allocations: 473.9 kB / 0.8143 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2861, allocations: 33.7 kB / 0.8144 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.2862, allocations: 228.5 kB / 0.8146 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2863, allocations: 43.3 kB / 0.8146 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.2864, allocations: 61.55 kB / 0.8147 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2865, allocations: 358.7 kB / 0.815 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.2867, allocations: 76.81 kB / 0.8151 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.287, allocations: 143.7 kB / 0.8152 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.2874, allocations: 173.1 kB / 0.8154 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2874, allocations: 0 / 0.8154 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005142/0.2879, allocations: 249 kB / 0.8156 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2879, allocations: 4 kB / 0.8156 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.288, allocations: 4 kB / 0.8156 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.288, allocations: 0 / 0.8156 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2882, allocations: 51.91 kB / 0.8157 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2882, allocations: 0 / 0.8157 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2886, allocations: 43.72 kB / 0.8157 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.2886, allocations: 12 kB / 0.8157 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002732/0.2889, allocations: 188.7 kB / 0.8159 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002289/0.2891, allocations: 160.1 kB / 0.8161 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003196/0.2895, allocations: 176.2 kB / 0.8162 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.2895, allocations: 3.938 kB / 0.8162 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004819/0.29, allocations: 253 kB / 0.8165 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.29, allocations: 7.984 kB / 0.8165 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.29, allocations: 0 / 0.8165 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.29, allocations: 4 kB / 0.8165 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.2902, allocations: 55.97 kB / 0.8166 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.2902, allocations: 0 / 0.8166 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.2906, allocations: 35.91 kB / 0.8166 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2906, allocations: 8 kB / 0.8166 GB, free: 10.78 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.2907, allocations: 200.1 kB / 0.8168 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.2908, allocations: 51.42 kB / 0.8168 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.2913, allocations: 247.6 kB / 0.8171 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.2914, allocations: 4 kB / 0.8171 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2914, allocations: 0 / 0.8171 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2914, allocations: 3.984 kB / 0.8171 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/0.2924, allocations: 0.7073 MB / 0.8178 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2924, allocations: 3.938 kB / 0.8178 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2925, allocations: 31.98 kB / 0.8178 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2926, allocations: 4 kB / 0.8178 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2926, allocations: 4.062 kB / 0.8178 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2926, allocations: 8 kB / 0.8178 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2926, allocations: 3.984 kB / 0.8178 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.293, allocations: 346.2 kB / 0.8182 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2932, allocations: 128.6 kB / 0.8183 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.2932, allocations: 11.94 kB / 0.8183 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2935, allocations: 23.81 kB / 0.8183 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.2935, allocations: 15.98 kB / 0.8183 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2936, allocations: 8 kB / 0.8183 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000349/0.2939, allocations: 330.9 kB / 0.8186 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2939, allocations: 0 / 0.8186 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006232/0.2945, allocations: 199.7 kB / 0.8188 GB, free: 8.352 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009772/0.2955, allocations: 479.7 kB / 0.8193 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007082/0.2962, allocations: 275.2 kB / 0.8196 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2963, allocations: 3.938 kB / 0.8196 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.2964, allocations: 84.14 kB / 0.8196 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.2977, allocations: 225.6 kB / 0.8199 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2988, allocations: 0.8387 MB / 0.8207 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.2992, allocations: 0.8272 MB / 0.8215 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002911/0.2995, allocations: 87.39 kB / 0.8216 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.2996, allocations: 31.44 kB / 0.8216 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.2996, allocations: 3.938 kB / 0.8216 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of Templates: time 0.01396/0.3136, allocations: 8.388 MB / 0.8298 GB, free: 13.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)