Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.002001/0.002001, allocations: 88.17 kB / 20.21 MB, free: 4.207 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.002219/0.002219, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.646/1.646, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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 1.091/1.091, allocations: 115 MB / 375.3 MB, free: 7.566 MB / 346.7 MB " [Timeout remaining time 178] 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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.168e-05, allocations: 2.312 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0433/0.04333, allocations: 30.67 MB / 0.4995 GB, free: 7.668 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.05814, allocations: 8.178 MB / 0.5075 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.05996, allocations: 47.5 kB / 0.5075 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.06136, allocations: 420.9 kB / 0.5079 GB, free: 252 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.06668, allocations: 1.483 MB / 0.5094 GB, free: 15.06 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.07054, allocations: 1.187 MB / 0.5105 GB, free: 14.17 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005736/0.07627, allocations: 3.464 MB / 0.5139 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.0785, allocations: 1.216 MB / 0.5151 GB, free: 9.711 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.08299, allocations: 2.14 MB / 0.5172 GB, free: 7.566 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003615/0.08661, allocations: 1.571 MB / 0.5187 GB, free: 5.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005882/0.0872, allocations: 124 kB / 0.5188 GB, free: 5.871 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.08968, allocations: 0.8421 MB / 0.5196 GB, free: 5.027 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.0903, allocations: 426.5 kB / 0.5201 GB, free: 4.609 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.09137, allocations: 0.5768 MB / 0.5206 GB, free: 4.031 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.09591, allocations: 2.45 MB / 0.523 GB, free: 1.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.09592, allocations: 4 kB / 0.523 GB, free: 1.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09592, allocations: 0 / 0.523 GB, free: 1.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.056e-05/0.09596, allocations: 0 / 0.523 GB, free: 1.57 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003551/0.09951, allocations: 1.752 MB / 0.5247 GB, free: 15.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.09956, allocations: 8.031 kB / 0.5247 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.1008, allocations: 255 kB / 0.525 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1031, allocations: 0.8728 MB / 0.5258 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.1032, allocations: 81.31 kB / 0.5259 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.1034, allocations: 116 kB / 0.526 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.1047, allocations: 0.7252 MB / 0.5267 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1048, allocations: 0 / 0.5267 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.1048, allocations: 28 kB / 0.5268 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1048, allocations: 12 kB / 0.5268 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.106, allocations: 0.5399 MB / 0.5273 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00642/0.1124, allocations: 2.948 MB / 0.5302 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.1131, allocations: 337.1 kB / 0.5305 GB, free: 9.715 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.1135, allocations: 172.2 kB / 0.5307 GB, free: 9.543 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.1137, allocations: 40.19 kB / 0.5307 GB, free: 9.504 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1137, allocations: 41.67 kB / 0.5307 GB, free: 9.453 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.1137, allocations: 0 / 0.5307 GB, free: 9.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001698/0.1154, allocations: 0.6157 MB / 0.5313 GB, free: 8.832 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.1155, allocations: 59.34 kB / 0.5314 GB, free: 8.762 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.1168, allocations: 0.9458 MB / 0.5323 GB, free: 7.789 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.117, allocations: 57.7 kB / 0.5324 GB, free: 7.727 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.1176, allocations: 0.5683 MB / 0.5329 GB, free: 7.152 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1177, allocations: 123 kB / 0.533 GB, free: 7.031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/0.1182, allocations: 292.7 kB / 0.5333 GB, free: 6.738 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002954/0.1185, allocations: 0.5006 MB / 0.5338 GB, free: 6.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.119, allocations: 228.2 kB / 0.534 GB, free: 6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/0.1228, allocations: 4.224 MB / 0.5382 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1239, allocations: 0.5425 MB / 0.5387 GB, free: 0 / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1239, allocations: 0 / 0.5387 GB, free: 0 / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001744/0.1256, allocations: 0.7273 MB / 0.5394 GB, free: 15.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1256, allocations: 8.188 kB / 0.5394 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1257, allocations: 4 kB / 0.5394 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1257, allocations: 4 kB / 0.5394 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.1273, allocations: 231.7 kB / 0.5396 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.1304, allocations: 4.525 MB / 0.544 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.1339, allocations: 0.6992 MB / 0.5447 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.1341, allocations: 27.98 kB / 0.5448 GB, free: 9.629 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001045/0.1351, allocations: 440 kB / 0.5452 GB, free: 9.195 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003878/0.139, allocations: 4.239 MB / 0.5493 GB, free: 3.742 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001079/0.1401, allocations: 0.5453 MB / 0.5498 GB, free: 3.145 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.1401, allocations: 0 / 0.5498 GB, free: 3.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001833/0.1419, allocations: 0.7352 MB / 0.5506 GB, free: 2.402 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1419, allocations: 8.031 kB / 0.5506 GB, free: 2.395 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1419, allocations: 4 kB / 0.5506 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.1419, allocations: 4 kB / 0.5506 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.1427, allocations: 159.8 kB / 0.5507 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1427, allocations: 4 kB / 0.5507 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/0.1473, allocations: 0.9847 MB / 0.5517 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.1474, allocations: 27.98 kB / 0.5517 GB, free: 1.211 MB / 474.7 MB 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004054/0.1478, allocations: 325 kB / 0.552 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.1481, allocations: 103.3 kB / 0.5521 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.1495, allocations: 0.5622 MB / 0.5527 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.1495, allocations: 4 kB / 0.5527 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1495, allocations: 0 / 0.5527 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1495, allocations: 192 / 0.5527 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.1521, allocations: 1.326 MB / 0.554 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.1521, allocations: 4 kB / 0.554 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.1528, allocations: 119.9 kB / 0.5541 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.1528, allocations: 11.98 kB / 0.5541 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.1529, allocations: 8 kB / 0.5541 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/0.1556, allocations: 4.494 MB / 0.5585 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.1557, allocations: 4.312 kB / 0.5585 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.1569, allocations: 0.6813 MB / 0.5592 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.1572, allocations: 139.2 kB / 0.5593 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.1573, allocations: 8 kB / 0.5593 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.1578, allocations: 19.98 kB / 0.5593 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.1579, allocations: 31.89 kB / 0.5594 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.1579, allocations: 15.98 kB / 0.5594 GB, free: 9.109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008259/0.1587, allocations: 0.5778 MB / 0.5599 GB, free: 8.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1587, allocations: 4 kB / 0.56 GB, free: 8.516 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001583/0.1603, allocations: 0.5535 MB / 0.5605 GB, free: 7.961 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006111/0.1609, allocations: 314.2 kB / 0.5608 GB, free: 7.645 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.1639, allocations: 0.9651 MB / 0.5617 GB, free: 6.672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1639, allocations: 0 / 0.5617 GB, free: 6.672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.1646, allocations: 273.3 kB / 0.562 GB, free: 6.402 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.1664, allocations: 347.2 kB / 0.5623 GB, free: 6.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.1692, allocations: 1.549 MB / 0.5638 GB, free: 4.469 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.1697, allocations: 429.3 kB / 0.5642 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001032/0.1707, allocations: 201.2 kB / 0.5644 GB, free: 3.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.1709, allocations: 76.47 kB / 0.5645 GB, free: 3.746 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1709, allocations: 0 / 0.5645 GB, free: 3.746 MB / 490.7 MB Notification: Performance of Templates: time 0.04529/0.2162, allocations: 26.1 MB / 0.59 GB, free: 10.34 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.010352659970522]