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.001487/0.001487, allocations: 100.2 kB / 20.43 MB, free: 4.133 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.001679/0.001679, allocations: 169 kB / 23.8 MB, free: 0.7656 MB / 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 0.9539/0.9539, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6185/0.6185, allocations: 115 MB / 375.7 MB, free: 7.66 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.112e-06/1.112e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.286e-05, allocations: 2.312 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.01828/0.01829, allocations: 25.33 MB / 0.495 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01756/0.03585, allocations: 9.887 MB / 0.5046 GB, free: 3.629 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.03845, allocations: 152.7 kB / 0.5048 GB, free: 3.477 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.04006, allocations: 0.7545 MB / 0.5055 GB, free: 2.953 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005048/0.04511, allocations: 2.602 MB / 0.508 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005546/0.05065, allocations: 2.972 MB / 0.5109 GB, free: 14.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006712/0.05736, allocations: 7.099 MB / 0.5179 GB, free: 7.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.05983, allocations: 1.971 MB / 0.5198 GB, free: 5.246 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006586/0.06641, allocations: 3.516 MB / 0.5232 GB, free: 1.785 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005869/0.07228, allocations: 1.869 MB / 0.5251 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004632/0.07274, allocations: 248 kB / 0.5253 GB, free: 15.67 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.07455, allocations: 0.94 MB / 0.5262 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003563/0.07811, allocations: 0.7392 MB / 0.5269 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.07921, allocations: 0.9936 MB / 0.5279 GB, free: 12.99 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.08518, allocations: 2.577 MB / 0.5304 GB, free: 10.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.08518, allocations: 0 / 0.5304 GB, free: 10.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08519, allocations: 0 / 0.5304 GB, free: 10.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.08522, allocations: 0 / 0.5304 GB, free: 10.4 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.006777/0.092, allocations: 3.217 MB / 0.5336 GB, free: 7.125 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.09203, allocations: 8.031 kB / 0.5336 GB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/0.09578, allocations: 473.7 kB / 0.534 GB, free: 6.652 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.09833, allocations: 2.003 MB / 0.536 GB, free: 4.566 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/0.09841, allocations: 134.9 kB / 0.5361 GB, free: 4.434 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00321/0.1016, allocations: 175.9 kB / 0.5363 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.1034, allocations: 1.459 MB / 0.5377 GB, free: 2.645 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.1035, allocations: 0 / 0.5377 GB, free: 2.645 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.1036, allocations: 64 kB / 0.5378 GB, free: 2.582 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.1036, allocations: 47.88 kB / 0.5378 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/0.1079, allocations: 0.5164 MB / 0.5383 GB, free: 2.012 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.1203, allocations: 5.882 MB / 0.5441 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.1207, allocations: 247.2 kB / 0.5443 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.121, allocations: 149.6 kB / 0.5444 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.1211, allocations: 44.47 kB / 0.5445 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1211, allocations: 45.83 kB / 0.5445 GB, free: 11.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/0.1211, allocations: 0 / 0.5445 GB, free: 11.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001258/0.1224, allocations: 0.6207 MB / 0.5451 GB, free: 10.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.1224, allocations: 59.91 kB / 0.5452 GB, free: 10.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/0.1273, allocations: 1.784 MB / 0.5469 GB, free: 8.977 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.1274, allocations: 49.7 kB / 0.547 GB, free: 8.922 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008334/0.1282, allocations: 1.233 MB / 0.5482 GB, free: 7.672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1284, allocations: 226.1 kB / 0.5484 GB, free: 7.449 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.1297, allocations: 264.3 kB / 0.5487 GB, free: 7.184 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1299, allocations: 0.516 MB / 0.5492 GB, free: 6.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.1302, allocations: 156.8 kB / 0.5493 GB, free: 6.504 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/0.131, allocations: 1.119 MB / 0.5504 GB, free: 5.055 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.1317, allocations: 0.7251 MB / 0.5511 GB, free: 4.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1317, allocations: 4 kB / 0.5511 GB, free: 4.176 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001067/0.1328, allocations: 0.9376 MB / 0.552 GB, free: 3.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1328, allocations: 14.64 kB / 0.552 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1328, allocations: 8 kB / 0.552 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.1328, allocations: 16 kB / 0.5521 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.1333, allocations: 247.6 kB / 0.5523 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.1334, allocations: 19.92 kB / 0.5523 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.1339, allocations: 135 kB / 0.5524 GB, free: 2.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.1339, allocations: 55.97 kB / 0.5525 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004313/0.1344, allocations: 297.5 kB / 0.5528 GB, free: 2.449 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005991/0.135, allocations: 1.119 MB / 0.5539 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006632/0.1356, allocations: 0.7029 MB / 0.5546 GB, free: 136 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.087e-06/0.1356, allocations: 4 kB / 0.5546 GB, free: 132 kB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001064/0.1367, allocations: 0.9255 MB / 0.5555 GB, free: 15.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1367, allocations: 8 kB / 0.5555 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1367, allocations: 8 kB / 0.5555 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1367, allocations: 16 kB / 0.5555 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.1372, allocations: 247.6 kB / 0.5557 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1372, allocations: 19.94 kB / 0.5558 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.1377, allocations: 111.7 kB / 0.5559 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.1378, allocations: 51.98 kB / 0.5559 GB, free: 14.74 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.0002019/0.138, allocations: 335.8 kB / 0.5562 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.1382, allocations: 242.5 kB / 0.5565 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/0.139, allocations: 0.5879 MB / 0.557 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.139, allocations: 8 kB / 0.557 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.139, allocations: 4 kB / 0.557 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004213/0.1394, allocations: 432.1 kB / 0.5575 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.1415, allocations: 1.936 MB / 0.5594 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1415, allocations: 0 / 0.5594 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.1418, allocations: 123.8 kB / 0.5595 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1418, allocations: 4 kB / 0.5595 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.1418, allocations: 15.98 kB / 0.5595 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1418, allocations: 8.094 kB / 0.5595 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1418, allocations: 7.938 kB / 0.5595 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009529/0.1428, allocations: 0.8683 MB / 0.5604 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.1431, allocations: 318.3 kB / 0.5607 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1432, allocations: 12 kB / 0.5607 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.1436, allocations: 31.94 kB / 0.5607 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.1437, allocations: 44.41 kB / 0.5607 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.1438, allocations: 31.98 kB / 0.5608 GB, free: 9.629 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009863/0.1447, allocations: 1.054 MB / 0.5618 GB, free: 8.562 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1447, allocations: 0 / 0.5618 GB, free: 8.562 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001456/0.1462, allocations: 1.068 MB / 0.5628 GB, free: 7.492 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.001014/0.1472, allocations: 474.2 kB / 0.5633 GB, free: 7.172 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1483, allocations: 0.8644 MB / 0.5641 GB, free: 6.316 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1483, allocations: 0 / 0.5641 GB, free: 6.316 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.1485, allocations: 200.4 kB / 0.5643 GB, free: 6.113 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.151, allocations: 1.198 MB / 0.5655 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.1547, allocations: 3.324 MB / 0.5687 GB, free: 1.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.155, allocations: 409.9 kB / 0.5691 GB, free: 1.164 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009332/0.1559, allocations: 435.8 kB / 0.5696 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.1562, allocations: 164.5 kB / 0.5697 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1562, allocations: 0 / 0.5697 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of Templates: time 0.04462/0.2008, allocations: 43.37 MB / 0.6121 GB, free: 6.039 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.507423964329064]