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.0009563/0.0009563, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001141/0.001141, allocations: 173 kB / 24.05 MB, free: 448 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.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.6186/0.6186, allocations: 115 MB / 376 MB, free: 7.516 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.423e-06/1.423e-06, allocations: 0 / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.117e-06/1.054e-05, allocations: 2.312 kB / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.01601/0.01602, allocations: 24.83 MB / 0.4949 GB, free: 10.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.03187, allocations: 9.838 MB / 0.5045 GB, free: 3.898 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.03396, allocations: 154.6 kB / 0.5047 GB, free: 3.746 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.03536, allocations: 0.7578 MB / 0.5054 GB, free: 3.215 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.03927, allocations: 2.6 MB / 0.508 GB, free: 1.121 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004648/0.04392, allocations: 2.971 MB / 0.5109 GB, free: 14.66 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006185/0.0501, allocations: 7.107 MB / 0.5178 GB, free: 7.531 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.05251, allocations: 1.968 MB / 0.5197 GB, free: 5.508 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.05683, allocations: 3.521 MB / 0.5232 GB, free: 2.039 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.05901, allocations: 1.873 MB / 0.525 GB, free: 164 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004354/0.05945, allocations: 248 kB / 0.5252 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.06096, allocations: 0.9399 MB / 0.5261 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.0614, allocations: 0.7353 MB / 0.5269 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008433/0.06225, allocations: 0.9936 MB / 0.5278 GB, free: 13.24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.06449, allocations: 2.569 MB / 0.5303 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.06449, allocations: 0 / 0.5303 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.06449, allocations: 0 / 0.5303 GB, free: 10.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.99e-05/0.06454, allocations: 0 / 0.5303 GB, free: 10.66 MB / 458.7 MB 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.002877/0.06742, allocations: 3.244 MB / 0.5335 GB, free: 7.359 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.06745, allocations: 8.031 kB / 0.5335 GB, free: 7.352 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005175/0.06797, allocations: 477.7 kB / 0.534 GB, free: 6.883 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.06974, allocations: 1.96 MB / 0.5359 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.06981, allocations: 131 kB / 0.536 GB, free: 4.711 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.06996, allocations: 176 kB / 0.5362 GB, free: 4.539 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.07109, allocations: 1.365 MB / 0.5375 GB, free: 3.016 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.07111, allocations: 3.938 kB / 0.5375 GB, free: 3.012 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/0.07119, allocations: 64 kB / 0.5376 GB, free: 2.949 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.07123, allocations: 51.92 kB / 0.5376 GB, free: 2.898 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.07174, allocations: 431.2 kB / 0.538 GB, free: 2.465 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.07655, allocations: 5.908 MB / 0.5438 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.07682, allocations: 239 kB / 0.544 GB, free: 12.17 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.07696, allocations: 133.6 kB / 0.5442 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.07707, allocations: 48.73 kB / 0.5442 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.0771, allocations: 41.89 kB / 0.5442 GB, free: 11.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 1.664e-06/0.0771, allocations: 0 / 0.5442 GB, free: 11.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.0006691/0.07777, allocations: 0.5621 MB / 0.5448 GB, free: 11.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.0778, allocations: 63.84 kB / 0.5449 GB, free: 11.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.07906, allocations: 1.752 MB / 0.5466 GB, free: 9.523 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.07911, allocations: 49.7 kB / 0.5466 GB, free: 9.469 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.07977, allocations: 1.253 MB / 0.5478 GB, free: 8.199 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.07989, allocations: 230.1 kB / 0.5481 GB, free: 7.973 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.08011, allocations: 256.3 kB / 0.5483 GB, free: 7.711 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.08025, allocations: 0.5237 MB / 0.5488 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.08042, allocations: 128.8 kB / 0.5489 GB, free: 7.051 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.08095, allocations: 1.088 MB / 0.55 GB, free: 5.633 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.08148, allocations: 0.6703 MB / 0.5507 GB, free: 4.812 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.08148, allocations: 0 / 0.5507 GB, free: 4.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.000862/0.08234, allocations: 0.8711 MB / 0.5515 GB, free: 3.934 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.08236, allocations: 12.22 kB / 0.5515 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.08237, allocations: 11.98 kB / 0.5515 GB, free: 3.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.08238, allocations: 12 kB / 0.5515 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.08286, allocations: 247.6 kB / 0.5518 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.08288, allocations: 27.92 kB / 0.5518 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.08336, allocations: 127 kB / 0.5519 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.08341, allocations: 47.98 kB / 0.552 GB, free: 3.457 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003482/0.08376, allocations: 261.4 kB / 0.5522 GB, free: 3.195 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005166/0.08427, allocations: 1.087 MB / 0.5533 GB, free: 1.773 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005006/0.08477, allocations: 0.6676 MB / 0.5539 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.08478, allocations: 0 / 0.5539 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0008043/0.08558, allocations: 0.8671 MB / 0.5548 GB, free: 68 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.08559, allocations: 8 kB / 0.5548 GB, free: 60 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.0856, allocations: 8 kB / 0.5548 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.08561, allocations: 12 kB / 0.5548 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.08605, allocations: 247.6 kB / 0.555 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.08606, allocations: 15.94 kB / 0.5551 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.08655, allocations: 115.3 kB / 0.5552 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.0866, allocations: 40.17 kB / 0.5552 GB, free: 15.63 MB / 490.7 MB 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.0001794/0.08678, allocations: 335.8 kB / 0.5555 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.08696, allocations: 242.5 kB / 0.5558 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006114/0.08758, allocations: 0.5574 MB / 0.5563 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.08758, allocations: 4 kB / 0.5563 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.08759, allocations: 4 kB / 0.5563 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003653/0.08795, allocations: 384.1 kB / 0.5567 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.08955, allocations: 1.588 MB / 0.5582 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.08955, allocations: 0 / 0.5582 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.08981, allocations: 123.8 kB / 0.5583 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.08981, allocations: 0 / 0.5583 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.08983, allocations: 19.98 kB / 0.5584 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.08984, allocations: 4 kB / 0.5584 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.08984, allocations: 0 / 0.5584 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.09052, allocations: 0.8176 MB / 0.5592 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.09085, allocations: 306.3 kB / 0.5595 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.09095, allocations: 19.98 kB / 0.5595 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.09129, allocations: 35.94 kB / 0.5595 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.09135, allocations: 40.42 kB / 0.5595 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.09139, allocations: 31.97 kB / 0.5596 GB, free: 11.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000672/0.09206, allocations: 0.9601 MB / 0.5605 GB, free: 10.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09206, allocations: 0 / 0.5605 GB, free: 10.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001265/0.09332, allocations: 1.072 MB / 0.5616 GB, free: 8.977 MB / 490.7 MB 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.001245/0.09457, allocations: 474 kB / 0.562 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007826/0.09535, allocations: 0.7827 MB / 0.5628 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.09535, allocations: 0 / 0.5628 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.09553, allocations: 175.8 kB / 0.5629 GB, free: 7.703 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.09787, allocations: 1.209 MB / 0.5641 GB, free: 6.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.1013, allocations: 3.319 MB / 0.5674 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1016, allocations: 401.9 kB / 0.5678 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000789/0.1024, allocations: 365.7 kB / 0.5681 GB, free: 2.414 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/0.1042, allocations: 0.8997 MB / 0.569 GB, free: 1.512 MB / 490.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1042, allocations: 0 / 0.569 GB, free: 1.512 MB / 490.7 MB Notification: Performance of Templates: time 0.04864/0.1528, allocations: 43.96 MB / 0.6119 GB, free: 6.48 MB / 0.5261 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: 4.43447537207976]