Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001347/0.001347, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001483/0.001483, allocations: 216.7 kB / 23.75 MB, free: 4.441 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.9919/0.9919, allocations: 149.9 MB / 463.8 MB, free: 10.32 MB / 366.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [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.002079/0.002079, allocations: 72.48 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 89.16 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01963/0.1938, allocations: 16.32 MB / 0.7453 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007616/0.2014, allocations: 4.684 MB / 0.7499 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.2019, allocations: 23.81 kB / 0.7499 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.2028, allocations: 254.4 kB / 0.7502 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.2046, allocations: 0.6764 MB / 0.7508 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.2066, allocations: 0.736 MB / 0.7515 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2078, allocations: 0.978 MB / 0.7525 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.2083, allocations: 289.5 kB / 0.7528 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.2092, allocations: 498 kB / 0.7532 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.2096, allocations: 298.6 kB / 0.7535 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.2097, allocations: 28 kB / 0.7536 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.2108, allocations: 0.6121 MB / 0.7542 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.211, allocations: 139.5 kB / 0.7543 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.2112, allocations: 198.9 kB / 0.7545 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.2124, allocations: 0.864 MB / 0.7553 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2124, allocations: 4 kB / 0.7553 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2124, allocations: 0 / 0.7553 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.2124, allocations: 0 / 0.7553 GB, free: 5.879 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001356/0.2138, allocations: 0.8266 MB / 0.7561 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2138, allocations: 12.03 kB / 0.7561 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.214, allocations: 64.56 kB / 0.7562 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.2147, allocations: 406 kB / 0.7566 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2148, allocations: 20.5 kB / 0.7566 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.2148, allocations: 32 kB / 0.7566 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.2153, allocations: 281.3 kB / 0.7569 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2154, allocations: 3.938 kB / 0.7569 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2154, allocations: 8 kB / 0.7569 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.2154, allocations: 8 kB / 0.7569 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.2158, allocations: 189.8 kB / 0.7571 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.2177, allocations: 1.171 MB / 0.7583 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.218, allocations: 154.8 kB / 0.7584 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2182, allocations: 80.81 kB / 0.7585 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.2195, allocations: 0.5388 MB / 0.759 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2195, allocations: 34.56 kB / 0.759 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.2195, allocations: 3.938 kB / 0.759 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006379/0.2201, allocations: 249.2 kB / 0.7593 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2202, allocations: 51.41 kB / 0.7593 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/0.2209, allocations: 0.5682 MB / 0.7599 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.2209, allocations: 29.7 kB / 0.7599 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.2211, allocations: 268.4 kB / 0.7602 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.2212, allocations: 55.53 kB / 0.7602 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2213, allocations: 69.92 kB / 0.7603 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2214, allocations: 358.8 kB / 0.7606 GB, free: 220 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2216, allocations: 81.94 kB / 0.7607 GB, free: 136 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.334/0.5556, allocations: 436.6 kB / 0.7611 GB, free: 35.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.556, allocations: 233.7 kB / 0.7613 GB, free: 35.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.556, allocations: 4.5 kB / 0.7614 GB, free: 35.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006386/0.5567, allocations: 313.2 kB / 0.7616 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5567, allocations: 7.281 kB / 0.7617 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5567, allocations: 2.125 kB / 0.7617 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.5567, allocations: 6.203 kB / 0.7617 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.557, allocations: 63.23 kB / 0.7617 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.557, allocations: 4.188 kB / 0.7617 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.5573, allocations: 45.89 kB / 0.7618 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.5574, allocations: 12.8 kB / 0.7618 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003052/0.5577, allocations: 218.3 kB / 0.762 GB, free: 35.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002593/0.5579, allocations: 442.4 kB / 0.7624 GB, free: 35.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000321/0.5582, allocations: 229.8 kB / 0.7626 GB, free: 35.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.5582, allocations: 3.812 kB / 0.7626 GB, free: 35.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004876/0.5587, allocations: 307.2 kB / 0.7629 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.5587, allocations: 6.062 kB / 0.7629 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.5587, allocations: 3.062 kB / 0.7629 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.5587, allocations: 4.938 kB / 0.7629 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.559, allocations: 63.88 kB / 0.763 GB, free: 35.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.559, allocations: 13 kB / 0.763 GB, free: 35.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.5593, allocations: 34.45 kB / 0.7631 GB, free: 35.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5593, allocations: 16.86 kB / 0.7631 GB, free: 35.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 7.673e-05/0.5594, allocations: 207.5 kB / 0.7633 GB, free: 35.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.5594, allocations: 45.55 kB / 0.7633 GB, free: 35.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.5599, allocations: 258.8 kB / 0.7636 GB, free: 35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.56, allocations: 4.25 kB / 0.7636 GB, free: 35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.56, allocations: 0 / 0.7636 GB, free: 35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.56, allocations: 0.8906 kB / 0.7636 GB, free: 35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.5608, allocations: 0.6479 MB / 0.7642 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5608, allocations: 1.219 kB / 0.7642 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.561, allocations: 30.5 kB / 0.7642 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.561, allocations: 3.391 kB / 0.7642 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.561, allocations: 12.62 kB / 0.7642 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.561, allocations: 3.25 kB / 0.7642 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.561, allocations: 1.641 kB / 0.7642 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.5614, allocations: 352.5 kB / 0.7646 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5615, allocations: 70.19 kB / 0.7646 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.5615, allocations: 8.281 kB / 0.7647 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.5617, allocations: 20.03 kB / 0.7647 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.5618, allocations: 13.3 kB / 0.7647 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.5618, allocations: 7.875 kB / 0.7647 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003546/0.5622, allocations: 404.4 kB / 0.7651 GB, free: 34.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5622, allocations: 0.6562 kB / 0.7651 GB, free: 34.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006723/0.5628, allocations: 239.5 kB / 0.7653 GB, free: 34.38 MB / 0.5762 GB 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001571/0.5644, allocations: 0.5084 MB / 0.7658 GB, free: 34.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.565, allocations: 310.6 kB / 0.7661 GB, free: 34.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.565, allocations: 0 / 0.7661 GB, free: 34.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.5652, allocations: 83.23 kB / 0.7662 GB, free: 34.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5662, allocations: 222 kB / 0.7664 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.5673, allocations: 0.8585 MB / 0.7672 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.5675, allocations: 237.5 kB / 0.7675 GB, free: 33.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.5676, allocations: 42.81 kB / 0.7675 GB, free: 33.72 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.5676, allocations: 0.875 kB / 0.7675 GB, free: 33.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.0142/0.5818, allocations: 8.508 MB / 0.7758 GB, free: 32.84 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.050015839748085] Failed to read output from testmodel.py, exit status != 0: 0.5906462608836591 0.602225647 0.38719055499999994 Calling exit ...