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.001651/0.001651, allocations: 113.7 kB / 16.38 MB, free: 6.34 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.001648/0.001648, allocations: 194.1 kB / 17.32 MB, free: 5.727 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.526/1.526, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.932/1.932, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001535/0.001535, allocations: 70.25 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3065, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.5094/0.816, allocations: 15.7 MB / 0.8001 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.8264, allocations: 7.061 MB / 0.807 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.8275, allocations: 18.78 kB / 0.807 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.8287, allocations: 267 kB / 0.8073 GB, free: 36.61 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002033/0.8307, allocations: 0.6025 MB / 0.8079 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.8329, allocations: 0.6832 MB / 0.8086 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.8347, allocations: 1.017 MB / 0.8095 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.8353, allocations: 331.1 kB / 0.8099 GB, free: 35.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.8361, allocations: 421.1 kB / 0.8103 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.8366, allocations: 318.5 kB / 0.8106 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.8367, allocations: 31.69 kB / 0.8106 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.8383, allocations: 0.6127 MB / 0.8112 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.8385, allocations: 99.77 kB / 0.8113 GB, free: 34.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.8388, allocations: 223.9 kB / 0.8115 GB, free: 34.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.8403, allocations: 0.7549 MB / 0.8122 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8404, allocations: 5.281 kB / 0.8122 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8404, allocations: 0 / 0.8122 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8404, allocations: 1.094 kB / 0.8122 GB, free: 34.35 MB / 0.6544 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.001382/0.8418, allocations: 0.8215 MB / 0.813 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.8418, allocations: 9.5 kB / 0.8131 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.842, allocations: 55.59 kB / 0.8131 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.8427, allocations: 436.2 kB / 0.8135 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.8428, allocations: 23.25 kB / 0.8135 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.8428, allocations: 26.97 kB / 0.8136 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.8434, allocations: 216.1 kB / 0.8138 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.8434, allocations: 0 / 0.8138 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.8434, allocations: 6.109 kB / 0.8138 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.8434, allocations: 5.969 kB / 0.8138 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.8438, allocations: 166.4 kB / 0.814 GB, free: 33.19 MB / 0.6544 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.001663/0.8455, allocations: 0.9356 MB / 0.8149 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.8459, allocations: 130.9 kB / 0.815 GB, free: 32.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.846, allocations: 71.97 kB / 0.8151 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.8463, allocations: 338.7 kB / 0.8154 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.8463, allocations: 36.7 kB / 0.8154 GB, free: 32.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.8463, allocations: 0 / 0.8154 GB, free: 32.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006989/0.847, allocations: 244.3 kB / 0.8156 GB, free: 31.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.8471, allocations: 56.78 kB / 0.8157 GB, free: 31.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.8477, allocations: 471 kB / 0.8162 GB, free: 31.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.8477, allocations: 28.5 kB / 0.8162 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.8479, allocations: 230.4 kB / 0.8164 GB, free: 31.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.8479, allocations: 44.95 kB / 0.8164 GB, free: 31.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.848, allocations: 61.42 kB / 0.8165 GB, free: 31.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.8481, allocations: 357.5 kB / 0.8168 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.8484, allocations: 69.42 kB / 0.8169 GB, free: 31.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.8486, allocations: 160.5 kB / 0.8171 GB, free: 30.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.849, allocations: 163.3 kB / 0.8172 GB, free: 30.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.849, allocations: 0 / 0.8172 GB, free: 30.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006042/0.8497, allocations: 260.2 kB / 0.8175 GB, free: 30.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.8497, allocations: 6.219 kB / 0.8175 GB, free: 30.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8497, allocations: 4 kB / 0.8175 GB, free: 30.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.8497, allocations: 3.625 kB / 0.8175 GB, free: 30.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.85, allocations: 46.7 kB / 0.8175 GB, free: 30.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.85, allocations: 1.969 kB / 0.8175 GB, free: 30.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.8505, allocations: 38.42 kB / 0.8176 GB, free: 30.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.8505, allocations: 12.38 kB / 0.8176 GB, free: 30.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003724/0.8509, allocations: 192.1 kB / 0.8178 GB, free: 30.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003218/0.8512, allocations: 160.7 kB / 0.8179 GB, free: 30.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000398/0.8516, allocations: 175.2 kB / 0.8181 GB, free: 30.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.8516, allocations: 0 / 0.8181 GB, free: 30.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005993/0.8522, allocations: 246.3 kB / 0.8183 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8523, allocations: 9.469 kB / 0.8183 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.8523, allocations: 1.562 kB / 0.8183 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.8523, allocations: 3 kB / 0.8183 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.8525, allocations: 46.8 kB / 0.8184 GB, free: 30.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8525, allocations: 2.844 kB / 0.8184 GB, free: 30.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.853, allocations: 34.47 kB / 0.8184 GB, free: 30.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.853, allocations: 8.906 kB / 0.8184 GB, free: 30.26 MB / 0.6544 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.0001344/0.8531, allocations: 198 kB / 0.8186 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.8532, allocations: 43.62 kB / 0.8186 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006978/0.8539, allocations: 247.4 kB / 0.8189 GB, free: 29.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.854, allocations: 2.391 kB / 0.8189 GB, free: 29.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.854, allocations: 0 / 0.8189 GB, free: 29.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.8541, allocations: 132.8 kB / 0.819 GB, free: 29.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.8542, allocations: 9.828 kB / 0.819 GB, free: 29.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.8544, allocations: 15.44 kB / 0.819 GB, free: 29.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.8545, allocations: 22.28 kB / 0.8191 GB, free: 29.79 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004563/0.8549, allocations: 273.3 kB / 0.8193 GB, free: 29.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004804/0.8554, allocations: 396.8 kB / 0.8197 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001695/0.8556, allocations: 83.58 kB / 0.8198 GB, free: 29.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004001/0.856, allocations: 330 kB / 0.8201 GB, free: 29.18 MB / 0.6544 GB Notification: Performance of Backend: time 2.71e-07/0.856, allocations: 1.062 kB / 0.8201 GB, free: 29.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002705/0.8587, allocations: 0.751 MB / 0.8208 GB, free: 28.97 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001866/0.8606, allocations: 1.248 MB / 0.822 GB, free: 28.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.02167/0.8823, allocations: 9.731 MB / 0.8315 GB, free: 27.36 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)