Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.073/1.073, allocations: 177.1 MB / 204.6 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.7496/0.7496, allocations: 115 MB / 376 MB, free: 7.676 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.505e-05, allocations: 3.094 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.08781/0.08783, allocations: 117.4 MB / 0.5849 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02437/0.1122, allocations: 20.67 MB / 0.6051 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/0.1165, allocations: 154.6 kB / 0.6052 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.1203, allocations: 1.284 MB / 0.6065 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.008768/0.1291, allocations: 4.06 MB / 0.6104 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.1351, allocations: 3.2 MB / 0.6136 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.008315/0.1434, allocations: 7.271 MB / 0.6207 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.1463, allocations: 1.975 MB / 0.6226 GB, free: 12 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008132/0.1544, allocations: 4.086 MB / 0.6266 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003479/0.1579, allocations: 1.889 MB / 0.6284 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.1584, allocations: 252 kB / 0.6287 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.1613, allocations: 1.446 MB / 0.6301 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.1619, allocations: 0.7509 MB / 0.6308 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.1632, allocations: 1.013 MB / 0.6318 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004812/0.168, allocations: 2.939 MB / 0.6347 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1681, allocations: 0 / 0.6347 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1681, allocations: 3.938 kB / 0.6347 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.82e-05/0.1681, allocations: 0 / 0.6347 GB, free: 15.61 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.003821/0.1719, allocations: 3.322 MB / 0.6379 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.172, allocations: 12.03 kB / 0.6379 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007331/0.1727, allocations: 465.7 kB / 0.6384 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/0.1754, allocations: 2.173 MB / 0.6405 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.1755, allocations: 123 kB / 0.6406 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.1756, allocations: 176 kB / 0.6408 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.1774, allocations: 1.459 MB / 0.6422 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.1775, allocations: 3.938 kB / 0.6422 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.1775, allocations: 64 kB / 0.6423 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.1776, allocations: 43.92 kB / 0.6423 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/0.1785, allocations: 0.5203 MB / 0.6428 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/0.1845, allocations: 5.885 MB / 0.6486 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.1849, allocations: 254.9 kB / 0.6488 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.1852, allocations: 153.6 kB / 0.649 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.1854, allocations: 84.44 kB / 0.6491 GB, free: 444 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1854, allocations: 45.89 kB / 0.6491 GB, free: 388 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.697e-06/0.1854, allocations: 0 / 0.6491 GB, free: 388 kB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.2111/0.3966, allocations: 0.6093 MB / 0.6497 GB, free: 171.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3966, allocations: 62.86 kB / 0.6498 GB, free: 171.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.3994, allocations: 1.802 MB / 0.6515 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.3995, allocations: 45.36 kB / 0.6516 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/0.4002, allocations: 1.234 MB / 0.6528 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.4004, allocations: 229 kB / 0.653 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.4007, allocations: 259 kB / 0.6532 GB, free: 170.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.4008, allocations: 0.522 MB / 0.6537 GB, free: 169.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.4011, allocations: 153.7 kB / 0.6539 GB, free: 169.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.4018, allocations: 1.119 MB / 0.655 GB, free: 168.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.4026, allocations: 0.7205 MB / 0.6557 GB, free: 168 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.4026, allocations: 2.375 kB / 0.6557 GB, free: 168 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001461/0.4041, allocations: 0.9446 MB / 0.6566 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4041, allocations: 9.781 kB / 0.6566 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4041, allocations: 8.625 kB / 0.6566 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.4042, allocations: 15.47 kB / 0.6566 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.4047, allocations: 245 kB / 0.6569 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.4048, allocations: 20.95 kB / 0.6569 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.4055, allocations: 122.4 kB / 0.657 GB, free: 167.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.4056, allocations: 51.81 kB / 0.6571 GB, free: 167.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005463/0.4062, allocations: 295.7 kB / 0.6573 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005007/0.4067, allocations: 1.118 MB / 0.6584 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006739/0.4073, allocations: 0.7056 MB / 0.6591 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/0.4073, allocations: 3.094 kB / 0.6591 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001252/0.4086, allocations: 0.925 MB / 0.66 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4086, allocations: 9.594 kB / 0.66 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4086, allocations: 9.219 kB / 0.66 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4086, allocations: 15.84 kB / 0.6601 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.4092, allocations: 252.8 kB / 0.6603 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4092, allocations: 19.45 kB / 0.6603 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.4099, allocations: 104.1 kB / 0.6604 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.41, allocations: 52.02 kB / 0.6605 GB, free: 165.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.000235/0.4102, allocations: 337.2 kB / 0.6608 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.4104, allocations: 238.9 kB / 0.661 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.4113, allocations: 0.5979 MB / 0.6616 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4113, allocations: 6.312 kB / 0.6616 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4113, allocations: 0.875 kB / 0.6616 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004289/0.4118, allocations: 432.8 kB / 0.662 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.4142, allocations: 1.941 MB / 0.6639 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4143, allocations: 3.969 kB / 0.6639 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.4146, allocations: 118.8 kB / 0.664 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.4146, allocations: 2.625 kB / 0.664 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.4146, allocations: 20.11 kB / 0.6641 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4146, allocations: 3.172 kB / 0.6641 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4146, allocations: 4.594 kB / 0.6641 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/0.4156, allocations: 0.8705 MB / 0.6649 GB, free: 162.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.4161, allocations: 321.3 kB / 0.6652 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.4163, allocations: 16.69 kB / 0.6652 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.4167, allocations: 32.48 kB / 0.6653 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.4168, allocations: 42.05 kB / 0.6653 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.4168, allocations: 35.83 kB / 0.6653 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001168/0.418, allocations: 1.061 MB / 0.6664 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/0.418, allocations: 0 / 0.6664 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002304/0.4203, allocations: 1.177 MB / 0.6675 GB, free: 162 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001512/0.4218, allocations: 0.7313 MB / 0.6682 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.4234, allocations: 0.8595 MB / 0.6691 GB, free: 161.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4234, allocations: 2.625 kB / 0.6691 GB, free: 161.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.4237, allocations: 195.7 kB / 0.6693 GB, free: 161.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.4267, allocations: 1.204 MB / 0.6704 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.4324, allocations: 3.311 MB / 0.6737 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.4329, allocations: 409.1 kB / 0.6741 GB, free: 159.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00215/0.435, allocations: 433.8 kB / 0.6745 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.4355, allocations: 164.7 kB / 0.6746 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.714e-06/0.4355, allocations: 0 / 0.6746 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.05552/0.491, allocations: 44.27 MB / 0.7179 GB, free: 128.1 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.23910345393233]