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.00103/0.00103, allocations: 92.11 kB / 20.43 MB, free: 4.141 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.001095/0.001095, allocations: 165 kB / 23.8 MB, free: 0.7734 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 1.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.6263/0.6263, 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.372e-06/1.372e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.614e-05, allocations: 6.797 kB / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.02057/0.02059, allocations: 25.33 MB / 0.4949 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.03939, allocations: 9.883 MB / 0.5046 GB, free: 3.582 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00475/0.04414, allocations: 154.6 kB / 0.5047 GB, free: 3.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.04699, allocations: 0.7558 MB / 0.5055 GB, free: 2.906 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007286/0.05427, allocations: 2.583 MB / 0.508 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006706/0.06098, allocations: 2.979 MB / 0.5109 GB, free: 14.44 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00939/0.07037, allocations: 7.12 MB / 0.5179 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003825/0.07419, allocations: 1.968 MB / 0.5198 GB, free: 5.285 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007537/0.08173, allocations: 3.259 MB / 0.523 GB, free: 2.043 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.08656, allocations: 1.881 MB / 0.5248 GB, free: 160 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.08763, allocations: 252 kB / 0.5251 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.09067, allocations: 0.9633 MB / 0.526 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.09182, allocations: 0.7431 MB / 0.5267 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.09419, allocations: 1.013 MB / 0.5277 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.09891, allocations: 2.608 MB / 0.5303 GB, free: 10.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.09892, allocations: 3.938 kB / 0.5303 GB, free: 10.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.09892, allocations: 0 / 0.5303 GB, free: 10.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.09904, allocations: 4 kB / 0.5303 GB, free: 10.56 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.004299/0.1033, allocations: 3.245 MB / 0.5334 GB, free: 7.254 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1034, allocations: 11.97 kB / 0.5334 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/0.1042, allocations: 469.8 kB / 0.5339 GB, free: 6.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.1078, allocations: 2.162 MB / 0.536 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.1079, allocations: 123 kB / 0.5361 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.1081, allocations: 175.9 kB / 0.5363 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.1105, allocations: 1.459 MB / 0.5377 GB, free: 2.625 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.1106, allocations: 11.94 kB / 0.5377 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.1107, allocations: 60 kB / 0.5378 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.1107, allocations: 47.92 kB / 0.5378 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1119, allocations: 0.5203 MB / 0.5383 GB, free: 1.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008041/0.12, allocations: 5.878 MB / 0.5441 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.1204, allocations: 266.8 kB / 0.5443 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.1206, allocations: 145.6 kB / 0.5445 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.1208, allocations: 44.47 kB / 0.5445 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1208, allocations: 41.89 kB / 0.5445 GB, free: 11.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.175e-06/0.1208, allocations: 7.938 kB / 0.5446 GB, free: 11.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001134/0.122, allocations: 0.6129 MB / 0.5452 GB, free: 10.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.122, allocations: 63.89 kB / 0.5452 GB, free: 10.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.1238, allocations: 1.8 MB / 0.547 GB, free: 8.922 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.1239, allocations: 41.7 kB / 0.547 GB, free: 8.875 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.1249, allocations: 1.241 MB / 0.5482 GB, free: 7.617 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.1251, allocations: 222.1 kB / 0.5484 GB, free: 7.398 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.1253, allocations: 256.4 kB / 0.5487 GB, free: 7.137 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1255, allocations: 0.5199 MB / 0.5492 GB, free: 6.609 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.1258, allocations: 156.8 kB / 0.5493 GB, free: 6.453 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/0.1265, allocations: 1.123 MB / 0.5504 GB, free: 5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.1273, allocations: 0.725 MB / 0.5511 GB, free: 4.125 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1273, allocations: 4 kB / 0.5511 GB, free: 4.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001716/0.1291, allocations: 0.9337 MB / 0.5521 GB, free: 3.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.1291, allocations: 8 kB / 0.5521 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.1291, allocations: 16.08 kB / 0.5521 GB, free: 3.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-05/0.1291, allocations: 12 kB / 0.5521 GB, free: 3.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.1298, allocations: 247.6 kB / 0.5523 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.1298, allocations: 19.94 kB / 0.5523 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.1307, allocations: 119.2 kB / 0.5525 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.1308, allocations: 55.97 kB / 0.5525 GB, free: 2.711 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006389/0.1314, allocations: 297.3 kB / 0.5528 GB, free: 2.414 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001021/0.1324, allocations: 1.119 MB / 0.5539 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007013/0.1331, allocations: 0.7146 MB / 0.5546 GB, free: 88 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.1331, allocations: 0 / 0.5546 GB, free: 88 kB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001228/0.1344, allocations: 0.9182 MB / 0.5555 GB, free: 15.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1344, allocations: 8 kB / 0.5555 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1344, allocations: 11.98 kB / 0.5555 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1344, allocations: 16 kB / 0.5555 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.1349, allocations: 251.6 kB / 0.5558 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.1349, allocations: 23.92 kB / 0.5558 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/0.1357, allocations: 107.4 kB / 0.5559 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.1357, allocations: 51.98 kB / 0.5559 GB, free: 14.7 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.0002735/0.136, allocations: 335.8 kB / 0.5563 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.1363, allocations: 246.5 kB / 0.5565 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.1372, allocations: 0.5801 MB / 0.5571 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.1373, allocations: 8 kB / 0.5571 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.1373, allocations: 0 / 0.5571 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004677/0.1377, allocations: 432.1 kB / 0.5575 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.1403, allocations: 1.947 MB / 0.5594 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1403, allocations: 0 / 0.5594 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.1407, allocations: 119.9 kB / 0.5595 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.1407, allocations: 4 kB / 0.5595 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.1407, allocations: 15.98 kB / 0.5595 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1407, allocations: 4 kB / 0.5595 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1407, allocations: 3.938 kB / 0.5595 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1418, allocations: 0.8724 MB / 0.5604 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008334/0.1426, allocations: 322.3 kB / 0.5607 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.1428, allocations: 12 kB / 0.5607 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.1432, allocations: 27.97 kB / 0.5607 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.1433, allocations: 44.42 kB / 0.5608 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.1433, allocations: 35.97 kB / 0.5608 GB, free: 9.586 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.1444, allocations: 1.058 MB / 0.5618 GB, free: 8.516 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1444, allocations: 7.938 kB / 0.5618 GB, free: 8.508 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001953/0.1464, allocations: 1.068 MB / 0.5629 GB, free: 7.438 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.001459/0.1478, allocations: 474.7 kB / 0.5633 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1494, allocations: 0.8644 MB / 0.5642 GB, free: 6.258 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1494, allocations: 0 / 0.5642 GB, free: 6.258 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.1496, allocations: 195.8 kB / 0.5644 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.1527, allocations: 1.211 MB / 0.5655 GB, free: 4.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.1587, allocations: 3.312 MB / 0.5688 GB, free: 1.543 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.159, allocations: 401.9 kB / 0.5692 GB, free: 1.121 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001509/0.1605, allocations: 436 kB / 0.5696 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.1608, allocations: 164.5 kB / 0.5697 GB, free: 0.543 MB / 490.7 MB Notification: Performance of SimCode: time 2.244e-06/0.1608, allocations: 0 / 0.5697 GB, free: 0.543 MB / 490.7 MB Notification: Performance of Templates: time 0.05216/0.213, allocations: 40.45 MB / 0.6092 GB, free: 8.945 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.813774196896702]