Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001504/0.001504, allocations: 191.5 kB / 16.25 MB, free: 6.637 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.8/1.8, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.744/1.744, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001367/0.001367, allocations: 70.62 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01847/0.3098, allocations: 17.47 MB / 0.7999 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3215, allocations: 7.521 MB / 0.8073 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3228, allocations: 15.88 kB / 0.8073 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.324, allocations: 219 kB / 0.8075 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.326, allocations: 0.5638 MB / 0.808 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.3281, allocations: 0.6505 MB / 0.8087 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.3294, allocations: 0.9657 MB / 0.8096 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.3299, allocations: 333 kB / 0.8099 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006632/0.3306, allocations: 418.2 kB / 0.8103 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.331, allocations: 314.7 kB / 0.8106 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.3311, allocations: 28 kB / 0.8107 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3323, allocations: 0.7213 MB / 0.8114 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3325, allocations: 131.5 kB / 0.8115 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.3327, allocations: 242.6 kB / 0.8117 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.3338, allocations: 0.8763 MB / 0.8126 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3338, allocations: 0 / 0.8126 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3338, allocations: 0 / 0.8126 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3339, allocations: 0 / 0.8126 GB, free: 15.36 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001266/0.3351, allocations: 0.8718 MB / 0.8134 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3352, allocations: 12.03 kB / 0.8134 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.3354, allocations: 68.27 kB / 0.8135 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.336, allocations: 445.3 kB / 0.8139 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.336, allocations: 20.56 kB / 0.8139 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.3361, allocations: 28 kB / 0.814 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.3366, allocations: 286.2 kB / 0.8142 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3366, allocations: 0 / 0.8142 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.3367, allocations: 16 kB / 0.8143 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3367, allocations: 4 kB / 0.8143 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.3371, allocations: 190.1 kB / 0.8144 GB, free: 13.33 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.001747/0.3388, allocations: 1.472 MB / 0.8159 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3391, allocations: 162.8 kB / 0.816 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.3393, allocations: 84.8 kB / 0.8161 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/0.3408, allocations: 1.276 MB / 0.8174 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3408, allocations: 38.5 kB / 0.8174 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3408, allocations: 0 / 0.8174 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0005875/0.3414, allocations: 245.1 kB / 0.8176 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3415, allocations: 55.41 kB / 0.8177 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.3421, allocations: 0.5886 MB / 0.8183 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3421, allocations: 29.7 kB / 0.8183 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3423, allocations: 268.1 kB / 0.8185 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3424, allocations: 59.27 kB / 0.8186 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3425, allocations: 65.89 kB / 0.8187 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3426, allocations: 358.8 kB / 0.819 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.3428, allocations: 81.88 kB / 0.8191 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3431, allocations: 214.4 kB / 0.8193 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.3435, allocations: 235.8 kB / 0.8195 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3435, allocations: 0 / 0.8195 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005384/0.3441, allocations: 312.7 kB / 0.8198 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3441, allocations: 12.25 kB / 0.8198 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3441, allocations: 0 / 0.8198 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3441, allocations: 4 kB / 0.8198 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.3444, allocations: 63.91 kB / 0.8199 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3444, allocations: 7.938 kB / 0.8199 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.3447, allocations: 51.56 kB / 0.8199 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.3448, allocations: 16 kB / 0.82 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002904/0.3451, allocations: 216.2 kB / 0.8202 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002719/0.3453, allocations: 210.2 kB / 0.8204 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003497/0.3457, allocations: 231.1 kB / 0.8206 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.3457, allocations: 0 / 0.8206 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005378/0.3463, allocations: 305.1 kB / 0.8209 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3463, allocations: 11.94 kB / 0.8209 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/0.3463, allocations: 3.938 kB / 0.8209 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.3463, allocations: 4 kB / 0.8209 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3465, allocations: 67.89 kB / 0.821 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3465, allocations: 4 kB / 0.821 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.3469, allocations: 43.94 kB / 0.821 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.3469, allocations: 16 kB / 0.821 GB, free: 6.023 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001302/0.347, allocations: 196.1 kB / 0.8212 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.3471, allocations: 55.28 kB / 0.8213 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.3477, allocations: 260.7 kB / 0.8215 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.3477, allocations: 4 kB / 0.8215 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3477, allocations: 0 / 0.8215 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3477, allocations: 7.922 kB / 0.8215 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3487, allocations: 0.7306 MB / 0.8222 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3488, allocations: 8.016 kB / 0.8222 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3489, allocations: 31.98 kB / 0.8223 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3489, allocations: 0 / 0.8223 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3489, allocations: 4 kB / 0.8223 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3489, allocations: 3.938 kB / 0.8223 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3489, allocations: 4 kB / 0.8223 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.3494, allocations: 354.2 kB / 0.8226 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3496, allocations: 148.4 kB / 0.8228 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.3496, allocations: 8 kB / 0.8228 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.3498, allocations: 19.98 kB / 0.8228 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.3499, allocations: 23.84 kB / 0.8228 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.35, allocations: 8 kB / 0.8228 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004541/0.3504, allocations: 418.8 kB / 0.8232 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3504, allocations: 0 / 0.8232 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001288/0.3517, allocations: 227.6 kB / 0.8234 GB, free: 3.426 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 (17): * Single equations (assignments): 15 * 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.001513/0.3532, allocations: 497.5 kB / 0.8239 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008089/0.3541, allocations: 323.6 kB / 0.8242 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3541, allocations: 0 / 0.8242 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3543, allocations: 93.02 kB / 0.8243 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3555, allocations: 265.9 kB / 0.8246 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.357, allocations: 0.9538 MB / 0.8255 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3574, allocations: 0.8467 MB / 0.8263 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.3577, allocations: 100.2 kB / 0.8264 GB, free: 456 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.3578, allocations: 43.42 kB / 0.8265 GB, free: 412 kB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.3578, allocations: 0 / 0.8265 GB, free: 412 kB / 0.6387 GB Notification: Performance of Templates: time 0.01938/0.3772, allocations: 10.12 MB / 0.8363 GB, free: 6.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)