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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 121.3 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 193.4 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8082/0.8082, allocations: 128.4 MB / 432.4 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002023/0.002023, allocations: 67.88 kB / 0.5987 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4042, allocations: 83.26 MB / 0.68 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1203/0.5245, allocations: 113.3 MB / 0.7907 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02966/0.5541, allocations: 20.11 MB / 0.8103 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.5577, allocations: 107.3 kB / 0.8105 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.5614, allocations: 1.312 MB / 0.8117 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009978/0.5713, allocations: 3.841 MB / 0.8155 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007481/0.5788, allocations: 3.133 MB / 0.8185 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.5891, allocations: 7.154 MB / 0.8255 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.5926, allocations: 2.084 MB / 0.8276 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007104/0.5997, allocations: 3.057 MB / 0.8306 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.6037, allocations: 2.166 MB / 0.8327 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005899/0.6043, allocations: 252 kB / 0.8329 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.6083, allocations: 1.662 MB / 0.8345 GB, free: 476 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008288/0.6091, allocations: 0.7158 MB / 0.8352 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.6112, allocations: 1.504 MB / 0.8367 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00653/0.6177, allocations: 4.374 MB / 0.841 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.6177, allocations: 4 kB / 0.841 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6177, allocations: 0 / 0.841 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.81e-05/0.6178, allocations: 0 / 0.841 GB, free: 9.844 MB / 0.6544 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.005385/0.6232, allocations: 3.269 MB / 0.8442 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6232, allocations: 11.97 kB / 0.8442 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007637/0.624, allocations: 338 kB / 0.8445 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/0.6276, allocations: 2.203 MB / 0.8467 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.536e-05/0.6277, allocations: 127 kB / 0.8468 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.6279, allocations: 168 kB / 0.8469 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.6307, allocations: 1.616 MB / 0.8485 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.6307, allocations: 3.938 kB / 0.8485 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.6309, allocations: 64 kB / 0.8486 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.6309, allocations: 40 kB / 0.8486 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.633, allocations: 1.147 MB / 0.8497 GB, free: 0.6602 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.6452, allocations: 8.147 MB / 0.8577 GB, free: 7.949 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.6461, allocations: 445.6 kB / 0.8581 GB, free: 7.504 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.6466, allocations: 302.9 kB / 0.8584 GB, free: 7.207 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/0.6474, allocations: 0.7485 MB / 0.8591 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.6475, allocations: 43.12 kB / 0.8592 GB, free: 6.242 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/0.6475, allocations: 0 / 0.8592 GB, free: 6.242 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002361/0.6498, allocations: 1.001 MB / 0.8602 GB, free: 5.238 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.6499, allocations: 59.97 kB / 0.8602 GB, free: 5.168 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.6529, allocations: 2.285 MB / 0.8624 GB, free: 2.871 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.6531, allocations: 49.7 kB / 0.8625 GB, free: 2.816 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.6541, allocations: 1.155 MB / 0.8636 GB, free: 1.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.6543, allocations: 222 kB / 0.8638 GB, free: 1.434 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/0.6547, allocations: 254.8 kB / 0.8641 GB, free: 1.176 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6548, allocations: 361.9 kB / 0.8644 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/0.6555, allocations: 357.9 kB / 0.8648 GB, free: 476 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2886/0.9441, allocations: 0.7451 MB / 0.8655 GB, free: 169.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.9456, allocations: 0.9778 MB / 0.8664 GB, free: 169.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.9456, allocations: 2.625 kB / 0.8664 GB, free: 169.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002304/0.9479, allocations: 1.305 MB / 0.8677 GB, free: 169.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.948, allocations: 9.062 kB / 0.8677 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.948, allocations: 8.469 kB / 0.8677 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.948, allocations: 14 kB / 0.8677 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/0.949, allocations: 254.3 kB / 0.868 GB, free: 169 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.949, allocations: 18.86 kB / 0.868 GB, free: 169 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.9503, allocations: 170.1 kB / 0.8682 GB, free: 169 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.9504, allocations: 52.8 kB / 0.8682 GB, free: 169 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001296/0.9517, allocations: 0.7562 MB / 0.869 GB, free: 168.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008608/0.9525, allocations: 0.7393 MB / 0.8697 GB, free: 168 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001214/0.9538, allocations: 0.9455 MB / 0.8706 GB, free: 167.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.9538, allocations: 5.312 kB / 0.8706 GB, free: 167.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002064/0.9558, allocations: 1.271 MB / 0.8718 GB, free: 167 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9558, allocations: 12.03 kB / 0.8719 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.9559, allocations: 8.938 kB / 0.8719 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9559, allocations: 14.58 kB / 0.8719 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.9568, allocations: 248.1 kB / 0.8721 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.9568, allocations: 19.8 kB / 0.8721 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.9581, allocations: 128.6 kB / 0.8723 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.9582, allocations: 54.83 kB / 0.8723 GB, free: 166.9 MB / 0.67 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.0002567/0.9585, allocations: 253.2 kB / 0.8726 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.9588, allocations: 245.1 kB / 0.8728 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.9605, allocations: 0.8808 MB / 0.8736 GB, free: 166.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.9605, allocations: 7.938 kB / 0.8737 GB, free: 166.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9605, allocations: 1.094 kB / 0.8737 GB, free: 166.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/0.9616, allocations: 0.6902 MB / 0.8743 GB, free: 165.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.9652, allocations: 2.563 MB / 0.8768 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9652, allocations: 1.125 kB / 0.8768 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.9657, allocations: 128 kB / 0.877 GB, free: 164.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.9657, allocations: 7.438 kB / 0.877 GB, free: 164.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.9657, allocations: 18.81 kB / 0.877 GB, free: 164.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.9657, allocations: 5.375 kB / 0.877 GB, free: 164.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9657, allocations: 1.094 kB / 0.877 GB, free: 164.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.9674, allocations: 1.319 MB / 0.8783 GB, free: 164.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.9679, allocations: 415.9 kB / 0.8787 GB, free: 163.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.9681, allocations: 19.94 kB / 0.8787 GB, free: 163.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/0.9689, allocations: 48.78 kB / 0.8787 GB, free: 163.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.969, allocations: 44.23 kB / 0.8788 GB, free: 163.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.9691, allocations: 33.42 kB / 0.8788 GB, free: 163.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001775/0.9708, allocations: 1.536 MB / 0.8803 GB, free: 163.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9708, allocations: 0 / 0.8803 GB, free: 163.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002485/0.9733, allocations: 1.111 MB / 0.8814 GB, free: 163 MB / 0.67 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.001894/0.9752, allocations: 0.7578 MB / 0.8821 GB, free: 162.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.9773, allocations: 1.283 MB / 0.8834 GB, free: 162.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9773, allocations: 3.562 kB / 0.8834 GB, free: 162.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.9778, allocations: 298.3 kB / 0.8837 GB, free: 162.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/0.9825, allocations: 1.397 MB / 0.885 GB, free: 161.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.987, allocations: 3.765 MB / 0.8887 GB, free: 159.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.9878, allocations: 1.567 MB / 0.8902 GB, free: 158.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.9882, allocations: 184.1 kB / 0.8904 GB, free: 158.4 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.9882, allocations: 1.422 kB / 0.8904 GB, free: 158.4 MB / 0.67 GB Notification: Performance of Templates: time 0.04053/1.029, allocations: 39.76 MB / 0.9293 GB, free: 124.6 MB / 0.67 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.000326839042827] Failed to read output from testmodel.py, exit status != 0: 1.0368432770483196 1.043414521 0.42363786699999995 Calling exit ...