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.001368/0.001368, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001017/0.001017, allocations: 164.2 kB / 24.84 MB, free: 9.254 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.9817/0.9817, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.6436/0.6436, allocations: 115 MB / 376.8 MB, free: 7.52 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.834e-06/1.834e-06, allocations: 0 / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.013e-05, allocations: 2.312 kB / 482.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.02053/0.02056, allocations: 24.83 MB / 0.4957 GB, free: 10.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.04092, allocations: 9.833 MB / 0.5053 GB, free: 3.957 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006269/0.04719, allocations: 154.6 kB / 0.5054 GB, free: 3.805 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.05022, allocations: 0.7617 MB / 0.5062 GB, free: 3.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008002/0.05822, allocations: 2.602 MB / 0.5087 GB, free: 1.172 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006844/0.06506, allocations: 2.967 MB / 0.5116 GB, free: 14.67 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.076, allocations: 7.098 MB / 0.5186 GB, free: 7.551 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003788/0.07978, allocations: 1.979 MB / 0.5205 GB, free: 5.516 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008288/0.08807, allocations: 3.509 MB / 0.5239 GB, free: 2.062 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004285/0.09236, allocations: 1.881 MB / 0.5258 GB, free: 180 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.09337, allocations: 248 kB / 0.526 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.09628, allocations: 0.936 MB / 0.5269 GB, free: 15 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009038/0.09719, allocations: 0.7353 MB / 0.5276 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002512/0.0997, allocations: 1.001 MB / 0.5286 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004917/0.1046, allocations: 2.573 MB / 0.5311 GB, free: 10.67 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1046, allocations: 0 / 0.5311 GB, free: 10.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1046, allocations: 0 / 0.5311 GB, free: 10.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.1048, allocations: 0 / 0.5311 GB, free: 10.67 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.004912/0.1097, allocations: 3.236 MB / 0.5343 GB, free: 7.375 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1097, allocations: 8.031 kB / 0.5343 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.1105, allocations: 477.7 kB / 0.5347 GB, free: 6.898 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.1128, allocations: 1.964 MB / 0.5367 GB, free: 4.852 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.1129, allocations: 123 kB / 0.5368 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.1131, allocations: 180 kB / 0.5369 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1144, allocations: 1.369 MB / 0.5383 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.1144, allocations: 0 / 0.5383 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.1145, allocations: 67.98 kB / 0.5383 GB, free: 2.961 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.1145, allocations: 51.88 kB / 0.5384 GB, free: 2.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.1151, allocations: 423.3 kB / 0.5388 GB, free: 2.484 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006452/0.1216, allocations: 5.923 MB / 0.5446 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.1219, allocations: 223.1 kB / 0.5448 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.122, allocations: 133.6 kB / 0.5449 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.1221, allocations: 40.47 kB / 0.545 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1222, allocations: 49.83 kB / 0.545 GB, free: 11.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 2.034e-06/0.1222, allocations: 0 / 0.545 GB, free: 11.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.0008868/0.1231, allocations: 0.5621 MB / 0.5456 GB, free: 11.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1231, allocations: 59.91 kB / 0.5456 GB, free: 11.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.1248, allocations: 1.752 MB / 0.5473 GB, free: 9.539 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.1249, allocations: 45.7 kB / 0.5474 GB, free: 9.488 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007412/0.1256, allocations: 1.253 MB / 0.5486 GB, free: 8.219 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.1258, allocations: 222.1 kB / 0.5488 GB, free: 8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.126, allocations: 268.3 kB / 0.5491 GB, free: 7.727 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1262, allocations: 0.5159 MB / 0.5496 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1264, allocations: 128.8 kB / 0.5497 GB, free: 7.074 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.1269, allocations: 1.092 MB / 0.5508 GB, free: 5.652 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.1275, allocations: 0.6742 MB / 0.5514 GB, free: 4.828 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1275, allocations: 0 / 0.5514 GB, free: 4.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001022/0.1285, allocations: 0.8712 MB / 0.5523 GB, free: 3.949 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1285, allocations: 14.5 kB / 0.5523 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1286, allocations: 8 kB / 0.5523 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1286, allocations: 12 kB / 0.5523 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.1291, allocations: 247.6 kB / 0.5525 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1291, allocations: 19.88 kB / 0.5525 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/0.1298, allocations: 135 kB / 0.5527 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.1299, allocations: 43.98 kB / 0.5527 GB, free: 3.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000689/0.1306, allocations: 265.4 kB / 0.553 GB, free: 3.215 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005387/0.1311, allocations: 1.095 MB / 0.554 GB, free: 1.785 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000519/0.1317, allocations: 0.6599 MB / 0.5547 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.1317, allocations: 0 / 0.5547 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0009596/0.1326, allocations: 0.8552 MB / 0.5555 GB, free: 100 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1326, allocations: 8 kB / 0.5555 GB, free: 92 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1326, allocations: 8 kB / 0.5555 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1327, allocations: 15.94 kB / 0.5556 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.1332, allocations: 247.6 kB / 0.5558 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1332, allocations: 15.94 kB / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007126/0.1339, allocations: 111.7 kB / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.1339, allocations: 43.98 kB / 0.556 GB, free: 15.66 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.0002639/0.1342, allocations: 335.8 kB / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.1344, allocations: 242.5 kB / 0.5565 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007584/0.1352, allocations: 0.5446 MB / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.1352, allocations: 15.94 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1352, allocations: 3.984 kB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003353/0.1355, allocations: 388.1 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.1377, allocations: 1.588 MB / 0.559 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.1377, allocations: 0 / 0.559 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.138, allocations: 119.9 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.138, allocations: 0 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.138, allocations: 19.98 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.138, allocations: 4 kB / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.138, allocations: 8.031 kB / 0.5591 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.1392, allocations: 0.8175 MB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.1396, allocations: 310.3 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.1398, allocations: 12 kB / 0.5602 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.1402, allocations: 31.94 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.1403, allocations: 52.28 kB / 0.5603 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.1403, allocations: 27.98 kB / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008798/0.1412, allocations: 0.9562 MB / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1412, allocations: 4 kB / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002059/0.1432, allocations: 1.068 MB / 0.5623 GB, free: 9 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.001049/0.1443, allocations: 461.9 kB / 0.5628 GB, free: 8.684 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.1454, allocations: 0.7904 MB / 0.5635 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1454, allocations: 0 / 0.5635 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1456, allocations: 175.8 kB / 0.5637 GB, free: 7.723 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.1484, allocations: 1.221 MB / 0.5649 GB, free: 6.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.153, allocations: 3.308 MB / 0.5681 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1533, allocations: 405.9 kB / 0.5685 GB, free: 2.781 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001204/0.1545, allocations: 370 kB / 0.5689 GB, free: 2.426 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.1561, allocations: 0.8958 MB / 0.5697 GB, free: 1.527 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1561, allocations: 0 / 0.5697 GB, free: 1.527 MB / 490.7 MB Notification: Performance of Templates: time 0.05712/0.2132, allocations: 44.55 MB / 0.6132 GB, free: 5.809 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.81422952003777]