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.001877/0.001877, allocations: 92.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.002038/0.002038, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.596/1.596, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.054/1.054, allocations: 115 MB / 375.3 MB, free: 7.59 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 2.365e-06/2.365e-06, allocations: 0 / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.204e-05, allocations: 4 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1526/0.1527, allocations: 117.1 MB / 0.5839 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.04028/0.193, allocations: 20.67 MB / 0.604 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00595/0.1989, allocations: 150.6 kB / 0.6042 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.005274/0.2042, allocations: 1.3 MB / 0.6055 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.2183, allocations: 4.041 MB / 0.6094 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.009484/0.2277, allocations: 3.211 MB / 0.6125 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01357/0.2413, allocations: 7.28 MB / 0.6196 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005333/0.2466, allocations: 1.972 MB / 0.6216 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.2607, allocations: 4.087 MB / 0.6256 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005513/0.2663, allocations: 1.881 MB / 0.6274 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.2673, allocations: 252 kB / 0.6276 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/0.2726, allocations: 1.454 MB / 0.6291 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.2737, allocations: 0.747 MB / 0.6298 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.2763, allocations: 1.013 MB / 0.6308 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.009616/0.2859, allocations: 4.506 MB / 0.6352 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2859, allocations: 0 / 0.6352 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2859, allocations: 0 / 0.6352 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001257/0.286, allocations: 0 / 0.6352 GB, free: 14.35 MB / 0.5573 GB 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.008131/0.2941, allocations: 3.588 MB / 0.6387 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2942, allocations: 12.03 kB / 0.6387 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.2955, allocations: 461.8 kB / 0.6391 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.3007, allocations: 2.215 MB / 0.6413 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.3008, allocations: 127 kB / 0.6414 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.3012, allocations: 172 kB / 0.6416 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/0.3052, allocations: 1.985 MB / 0.6435 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/0.3053, allocations: 0 / 0.6435 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.3054, allocations: 63.98 kB / 0.6436 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.062e-05/0.3055, allocations: 55.92 kB / 0.6436 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.3078, allocations: 1.026 MB / 0.6446 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2457/0.5535, allocations: 7.413 MB / 0.6519 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.5544, allocations: 432 kB / 0.6523 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.5548, allocations: 256.5 kB / 0.6525 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.5551, allocations: 82.91 kB / 0.6526 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.5552, allocations: 46.73 kB / 0.6527 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 2.535e-06/0.5552, allocations: 0.5625 kB / 0.6527 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.002041/0.5572, allocations: 0.861 MB / 0.6535 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.5572, allocations: 59.97 kB / 0.6536 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.56, allocations: 2.538 MB / 0.656 GB, free: 165.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.5601, allocations: 43.3 kB / 0.6561 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/0.5609, allocations: 1.391 MB / 0.6574 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.5611, allocations: 249.1 kB / 0.6577 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.5614, allocations: 307.9 kB / 0.658 GB, free: 164 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5616, allocations: 0.5635 MB / 0.6585 GB, free: 163.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.5621, allocations: 309 kB / 0.6588 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/0.5629, allocations: 1.317 MB / 0.6601 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5641, allocations: 1.03 MB / 0.6611 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5641, allocations: 2.75 kB / 0.6611 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001985/0.5661, allocations: 1.229 MB / 0.6623 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5661, allocations: 12.36 kB / 0.6623 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5661, allocations: 9.781 kB / 0.6623 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.5661, allocations: 14 kB / 0.6623 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008777/0.567, allocations: 249.6 kB / 0.6626 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.052e-05/0.567, allocations: 17.88 kB / 0.6626 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.5682, allocations: 126.2 kB / 0.6627 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.5683, allocations: 52.3 kB / 0.6628 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.5694, allocations: 0.6954 MB / 0.6634 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008229/0.5703, allocations: 1.31 MB / 0.6647 GB, free: 159 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001101/0.5714, allocations: 1.006 MB / 0.6657 GB, free: 158.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.771e-06/0.5714, allocations: 2.625 kB / 0.6657 GB, free: 158.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001915/0.5733, allocations: 1.191 MB / 0.6669 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5733, allocations: 12.58 kB / 0.6669 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5733, allocations: 8.281 kB / 0.6669 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5733, allocations: 14.38 kB / 0.6669 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/0.5742, allocations: 253.2 kB / 0.6672 GB, free: 157.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.5742, allocations: 17.72 kB / 0.6672 GB, free: 157.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.5755, allocations: 104.7 kB / 0.6673 GB, free: 157.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.927e-05/0.5756, allocations: 53.17 kB / 0.6673 GB, free: 157.7 MB / 0.5573 GB 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.0003084/0.5759, allocations: 338.7 kB / 0.6676 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/0.5763, allocations: 238.6 kB / 0.6679 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.5777, allocations: 0.7529 MB / 0.6686 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5777, allocations: 8.938 kB / 0.6686 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5778, allocations: 3.469 kB / 0.6686 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008124/0.5786, allocations: 0.5824 MB / 0.6692 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.5829, allocations: 2.67 MB / 0.6718 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5829, allocations: 2.25 kB / 0.6718 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.5834, allocations: 127.6 kB / 0.6719 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.5834, allocations: 5.203 kB / 0.6719 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.5835, allocations: 14.19 kB / 0.6719 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.5835, allocations: 7.156 kB / 0.6719 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5835, allocations: 5.062 kB / 0.6719 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.5854, allocations: 1.201 MB / 0.6731 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007648/0.5862, allocations: 316.7 kB / 0.6734 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.5864, allocations: 16.44 kB / 0.6734 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007921/0.5872, allocations: 32.19 kB / 0.6735 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.5873, allocations: 45.25 kB / 0.6735 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.5874, allocations: 35.08 kB / 0.6735 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001969/0.5893, allocations: 1.44 MB / 0.6749 GB, free: 153.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.5893, allocations: 0 / 0.6749 GB, free: 153.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002935/0.5923, allocations: 1.174 MB / 0.6761 GB, free: 153.7 MB / 0.5573 GB 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.003197/0.5955, allocations: 0.7652 MB / 0.6768 GB, free: 153.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002393/0.5979, allocations: 1.329 MB / 0.6781 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5979, allocations: 4.281 kB / 0.6781 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.5983, allocations: 299.8 kB / 0.6784 GB, free: 153 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/0.6034, allocations: 1.211 MB / 0.6796 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.6087, allocations: 3.54 MB / 0.6831 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.6097, allocations: 0.9924 MB / 0.684 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001841/0.6116, allocations: 437.2 kB / 0.6845 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.612, allocations: 168.4 kB / 0.6846 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.864e-06/0.612, allocations: 0 / 0.6846 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.05691/0.6689, allocations: 44.2 MB / 0.7278 GB, free: 114.9 MB / 0.5573 GB " [Timeout remaining time 659] 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: 7.663092614035122]