Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001238/0.001238, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001295/0.001295, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.807/1.807, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.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.000491/0.0004911, allocations: 15.98 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5205, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01701/0.5376, allocations: 16.11 MB / 0.7439 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.5484, allocations: 7.074 MB / 0.7508 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.5492, allocations: 15.88 kB / 0.7508 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000831/0.5501, allocations: 190.9 kB / 0.751 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.5515, allocations: 0.4936 MB / 0.7514 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.5534, allocations: 0.594 MB / 0.752 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.5551, allocations: 1.099 MB / 0.7531 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.5557, allocations: 262.6 kB / 0.7534 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000797/0.5565, allocations: 354.4 kB / 0.7537 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.557, allocations: 294.7 kB / 0.754 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.5571, allocations: 16 kB / 0.754 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.5585, allocations: 0.5887 MB / 0.7546 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.5587, allocations: 115.6 kB / 0.7547 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.5588, allocations: 117.4 kB / 0.7548 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008243/0.5596, allocations: 0.5884 MB / 0.7554 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5597, allocations: 0 / 0.7554 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5597, allocations: 4 kB / 0.7554 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5597, allocations: 0 / 0.7554 GB, free: 15.41 MB / 0.5762 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.001188/0.5609, allocations: 0.7824 MB / 0.7561 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5609, allocations: 11.97 kB / 0.7561 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.5611, allocations: 59.34 kB / 0.7562 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.5617, allocations: 429.4 kB / 0.7566 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.5617, allocations: 20.56 kB / 0.7566 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.5618, allocations: 31.95 kB / 0.7567 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.5623, allocations: 288.5 kB / 0.7569 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5623, allocations: 3.984 kB / 0.7569 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.5623, allocations: 8 kB / 0.7569 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5623, allocations: 8 kB / 0.7569 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.5628, allocations: 214.1 kB / 0.7572 GB, free: 13.48 MB / 0.5762 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.001765/0.5645, allocations: 1.285 MB / 0.7584 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.5649, allocations: 198 kB / 0.7586 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.5651, allocations: 101.2 kB / 0.7587 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/0.5667, allocations: 1.32 MB / 0.76 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5668, allocations: 38.48 kB / 0.76 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.5668, allocations: 0 / 0.76 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0006755/0.5675, allocations: 290.6 kB / 0.7603 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.5675, allocations: 59.41 kB / 0.7604 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.5682, allocations: 0.5729 MB / 0.7609 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5682, allocations: 33.7 kB / 0.7609 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.5684, allocations: 260.3 kB / 0.7612 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.5685, allocations: 67.05 kB / 0.7613 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.5685, allocations: 8 kB / 0.7613 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5687, allocations: 362.7 kB / 0.7616 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.5689, allocations: 79.94 kB / 0.7617 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.5692, allocations: 207.9 kB / 0.7619 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.5694, allocations: 121.7 kB / 0.762 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5694, allocations: 0 / 0.762 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005829/0.57, allocations: 327.7 kB / 0.7623 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/0.5701, allocations: 148 kB / 0.7625 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5701, allocations: 4 kB / 0.7625 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5701, allocations: 8 kB / 0.7625 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.5704, allocations: 67.91 kB / 0.7625 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5704, allocations: 4 kB / 0.7625 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.5708, allocations: 47.66 kB / 0.7626 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.5708, allocations: 15.95 kB / 0.7626 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.609e-06/0.5708, allocations: 8 kB / 0.7626 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004991/0.5713, allocations: 255.5 kB / 0.7628 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5713, allocations: 4 kB / 0.7628 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.5713, allocations: 8.188 kB / 0.7629 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.5716, allocations: 67.91 kB / 0.7629 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.5716, allocations: 4 kB / 0.7629 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.5719, allocations: 43.72 kB / 0.763 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.5719, allocations: 12 kB / 0.763 GB, free: 7.086 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.5721, allocations: 261 kB / 0.7632 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.5722, allocations: 47.39 kB / 0.7633 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000595/0.5728, allocations: 310.3 kB / 0.7636 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5728, allocations: 8 kB / 0.7636 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5728, allocations: 0 / 0.7636 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5729, allocations: 3.984 kB / 0.7636 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5739, allocations: 0.7725 MB / 0.7643 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5739, allocations: 4 kB / 0.7643 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.5741, allocations: 35.97 kB / 0.7644 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5741, allocations: 4 kB / 0.7644 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.5742, allocations: 8 kB / 0.7644 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5742, allocations: 4.156 kB / 0.7644 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5742, allocations: 7.938 kB / 0.7644 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.5749, allocations: 486 kB / 0.7649 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.5751, allocations: 156.4 kB / 0.765 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.5752, allocations: 7.953 kB / 0.765 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.5754, allocations: 20.05 kB / 0.765 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.5755, allocations: 23.91 kB / 0.7651 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.5755, allocations: 8 kB / 0.7651 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004624/0.5759, allocations: 406.8 kB / 0.7655 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.576, allocations: 0 / 0.7655 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007755/0.5767, allocations: 235.7 kB / 0.7657 GB, free: 4.188 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.578, allocations: 496.1 kB / 0.7662 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00083/0.5788, allocations: 359.5 kB / 0.7665 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5788, allocations: 4 kB / 0.7665 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.5791, allocations: 103.9 kB / 0.7666 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5804, allocations: 256.4 kB / 0.7668 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.582, allocations: 1.039 MB / 0.7679 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.5825, allocations: 0.8508 MB / 0.7687 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004256/0.5829, allocations: 104.3 kB / 0.7688 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.583, allocations: 43.44 kB / 0.7688 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.583, allocations: 0 / 0.7688 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Templates: time 0.01896/0.602, allocations: 9.793 MB / 0.7784 GB, free: 7.383 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: