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.001326/0.001326, allocations: 75.59 kB / 20.51 MB, free: 1.281 MB / 14.72 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.001461/0.001461, allocations: 169.6 kB / 23.77 MB, free: 4.461 MB / 14.72 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.422/1.422, allocations: 177.2 MB / 204.1 MB, free: 8.957 MB / 190.1 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 0.9145/0.9145, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 72.31 kB / 0.555 GB, free: 2.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1721, allocations: 89.15 MB / 0.6421 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4395/0.6116, allocations: 103.8 MB / 0.7434 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02883/0.6404, allocations: 18.78 MB / 0.7618 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005401/0.6458, allocations: 148.2 kB / 0.7619 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.6505, allocations: 1.28 MB / 0.7632 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01513/0.6657, allocations: 3.938 MB / 0.767 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008741/0.6744, allocations: 3.169 MB / 0.7701 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.6845, allocations: 7.272 MB / 0.7772 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003322/0.6879, allocations: 1.965 MB / 0.7791 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007764/0.6956, allocations: 3.165 MB / 0.7822 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.7002, allocations: 2.077 MB / 0.7842 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000562/0.7007, allocations: 256 kB / 0.7845 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003984/0.7047, allocations: 1.424 MB / 0.7859 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008214/0.7055, allocations: 0.7314 MB / 0.7866 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.7074, allocations: 1.201 MB / 0.7878 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006537/0.7139, allocations: 4.452 MB / 0.7921 GB, free: 488 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7139, allocations: 0 / 0.7921 GB, free: 488 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7139, allocations: 0 / 0.7921 GB, free: 488 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.736e-05/0.714, allocations: 0 / 0.7921 GB, free: 488 kB / 0.6231 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.005445/0.7194, allocations: 3.219 MB / 0.7953 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7195, allocations: 12.03 kB / 0.7953 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008221/0.7203, allocations: 342 kB / 0.7956 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.7242, allocations: 2.133 MB / 0.7977 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.7243, allocations: 123 kB / 0.7978 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.7245, allocations: 172 kB / 0.798 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.7275, allocations: 1.909 MB / 0.7998 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.7275, allocations: 7.891 kB / 0.7998 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.7277, allocations: 67.94 kB / 0.7999 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.7277, allocations: 43.98 kB / 0.7999 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.7298, allocations: 1.143 MB / 0.8011 GB, free: 7.039 MB / 0.6387 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.009439/0.7392, allocations: 5.485 MB / 0.8064 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.74, allocations: 442.8 kB / 0.8068 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.7405, allocations: 294.8 kB / 0.8071 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.7409, allocations: 76.42 kB / 0.8072 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.7409, allocations: 47.06 kB / 0.8072 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/0.7409, allocations: 0 / 0.8072 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.00196/0.7429, allocations: 0.9722 MB / 0.8082 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.7429, allocations: 55.91 kB / 0.8082 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.7457, allocations: 2.076 MB / 0.8103 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.403e-05/0.7457, allocations: 45.7 kB / 0.8103 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.7468, allocations: 1.169 MB / 0.8114 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.747, allocations: 226 kB / 0.8117 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.7474, allocations: 258.8 kB / 0.8119 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7476, allocations: 349.9 kB / 0.8122 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006559/0.7482, allocations: 353.9 kB / 0.8126 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.7495, allocations: 1.202 MB / 0.8138 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.751, allocations: 0.9821 MB / 0.8147 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.751, allocations: 4 kB / 0.8147 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002262/0.7533, allocations: 1.281 MB / 0.816 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.7533, allocations: 12.19 kB / 0.816 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.7533, allocations: 8 kB / 0.816 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.7533, allocations: 12 kB / 0.816 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.7543, allocations: 251.6 kB / 0.8162 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/0.7543, allocations: 27.86 kB / 0.8163 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.7556, allocations: 139.1 kB / 0.8164 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.7557, allocations: 51.98 kB / 0.8165 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/0.7571, allocations: 0.7602 MB / 0.8172 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001227/0.7583, allocations: 1.187 MB / 0.8184 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001428/0.7597, allocations: 0.9533 MB / 0.8193 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.252e-06/0.7597, allocations: 4 kB / 0.8193 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002212/0.7619, allocations: 1.25 MB / 0.8205 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7619, allocations: 8 kB / 0.8205 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.762, allocations: 12.06 kB / 0.8205 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.762, allocations: 16 kB / 0.8205 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009363/0.7629, allocations: 247.6 kB / 0.8208 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/0.7629, allocations: 19.92 kB / 0.8208 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.7643, allocations: 123.4 kB / 0.8209 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.7644, allocations: 55.97 kB / 0.821 GB, free: 1.629 MB / 0.6544 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.0003343/0.7648, allocations: 259.8 kB / 0.8212 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/0.7652, allocations: 218.5 kB / 0.8214 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.7671, allocations: 0.8699 MB / 0.8223 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.7671, allocations: 8 kB / 0.8223 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7671, allocations: 0 / 0.8223 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/0.7683, allocations: 0.6953 MB / 0.823 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.7726, allocations: 2.177 MB / 0.8251 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.7726, allocations: 0 / 0.8251 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.7732, allocations: 135.9 kB / 0.8252 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.7732, allocations: 0 / 0.8252 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.7733, allocations: 19.98 kB / 0.8252 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.7733, allocations: 4 kB / 0.8252 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7733, allocations: 0 / 0.8252 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.7756, allocations: 1.304 MB / 0.8265 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000844/0.7764, allocations: 318.3 kB / 0.8268 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/0.7767, allocations: 12 kB / 0.8268 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/0.7777, allocations: 59.81 kB / 0.8269 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.7778, allocations: 44.36 kB / 0.8269 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/0.7779, allocations: 35.97 kB / 0.827 GB, free: 11.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002345/0.7802, allocations: 1.363 MB / 0.8283 GB, free: 9.992 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.7802, allocations: 0 / 0.8283 GB, free: 9.992 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003617/0.7839, allocations: 1.169 MB / 0.8294 GB, free: 8.82 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.002395/0.7863, allocations: 0.7522 MB / 0.8302 GB, free: 8.219 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.789, allocations: 1.286 MB / 0.8314 GB, free: 6.934 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7891, allocations: 4 kB / 0.8314 GB, free: 6.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.7896, allocations: 306.8 kB / 0.8317 GB, free: 6.633 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/0.7947, allocations: 1.153 MB / 0.8328 GB, free: 5.516 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007037/0.8017, allocations: 3.689 MB / 0.8364 GB, free: 1.773 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.8033, allocations: 1.014 MB / 0.8374 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002055/0.8053, allocations: 468.3 kB / 0.8379 GB, free: 264 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.8058, allocations: 164.4 kB / 0.838 GB, free: 100 kB / 0.67 GB Notification: Performance of SimCode: time 7.92e-07/0.8058, allocations: 0 / 0.838 GB, free: 100 kB / 0.67 GB Notification: Performance of Templates: time 0.09536/0.9012, allocations: 44.07 MB / 0.8811 GB, free: 4.719 MB / 0.7169 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.49461601593066] Failed to read output from testmodel.py, exit status != 0: 0.9119240919826552 0.934148712 0.21570804400000002 Calling exit ...