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.001193/0.001193, allocations: 72.95 kB / 20.72 MB, free: 3.773 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.001459/0.001459, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.05/1.05, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.6516/0.6516, allocations: 115 MB / 376 MB, free: 7.508 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.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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 428.8 MB, free: 2.766 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.845e-05/4.05e-05, allocations: 10.19 kB / 428.8 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.008318/0.008358, allocations: 7.543 MB / 436.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00486/0.01322, allocations: 3.16 MB / 439.5 MB, free: 8.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.01386, allocations: 19.81 kB / 439.5 MB, free: 7.988 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007195/0.01458, allocations: 194.6 kB / 439.7 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.01575, allocations: 0.4893 MB / 440.2 MB, free: 7.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.01736, allocations: 0.7243 MB / 440.9 MB, free: 6.578 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.01858, allocations: 0.9543 MB / 441.8 MB, free: 5.621 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.01901, allocations: 277.7 kB / 442.1 MB, free: 5.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.01981, allocations: 482.6 kB / 442.6 MB, free: 4.867 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.02016, allocations: 247.2 kB / 442.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.0202, allocations: 28 kB / 442.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009016/0.0211, allocations: 0.5419 MB / 443.4 MB, free: 4.055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.02122, allocations: 143.5 kB / 443.5 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.02137, allocations: 155.5 kB / 443.7 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.02247, allocations: 0.689 MB / 444.4 MB, free: 3.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.02248, allocations: 4 kB / 444.4 MB, free: 3.066 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.02248, allocations: 4 kB / 444.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.02249, allocations: 0 / 444.4 MB, free: 3.062 MB / 410.7 MB 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.0008961/0.02339, allocations: 0.7629 MB / 445.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.02343, allocations: 8.031 kB / 445.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.02359, allocations: 64.81 kB / 445.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.02405, allocations: 370.2 kB / 445.6 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.02407, allocations: 20.5 kB / 445.6 MB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.0241, allocations: 28 kB / 445.6 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.02435, allocations: 228.8 kB / 445.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.02436, allocations: 4 kB / 445.9 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.02437, allocations: 8 kB / 445.9 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.02438, allocations: 8 kB / 445.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.02447, allocations: 82.2 kB / 446 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.02548, allocations: 0.9161 MB / 446.9 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.02562, allocations: 125.2 kB / 447 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.02566, allocations: 39.66 kB / 447 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.238/0.2637, allocations: 472.8 kB / 447.5 MB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2637, allocations: 36.62 kB / 447.5 MB, free: 21.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.594e-06/0.2637, allocations: 1.188 kB / 447.5 MB, free: 21.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002676/0.264, allocations: 152.2 kB / 447.7 MB, free: 21.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.264, allocations: 59.62 kB / 447.7 MB, free: 21.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.2644, allocations: 450.4 kB / 448.2 MB, free: 21.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.2644, allocations: 30.64 kB / 448.2 MB, free: 21.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2646, allocations: 222.8 kB / 448.4 MB, free: 21.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.2646, allocations: 54.89 kB / 448.5 MB, free: 21.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.2647, allocations: 70.64 kB / 448.5 MB, free: 21.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.2647, allocations: 360.8 kB / 448.9 MB, free: 20.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/0.2648, allocations: 32.95 kB / 448.9 MB, free: 20.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2649, allocations: 373.8 kB / 449.3 MB, free: 20.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.2651, allocations: 156.5 kB / 449.5 MB, free: 20.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2651, allocations: 1.656 kB / 449.5 MB, free: 20.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002188/0.2653, allocations: 185.6 kB / 449.6 MB, free: 20.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2653, allocations: 7.016 kB / 449.6 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.2653, allocations: 3.5 kB / 449.6 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2653, allocations: 5.484 kB / 449.6 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2655, allocations: 59.69 kB / 449.7 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2655, allocations: 7.844 kB / 449.7 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.2657, allocations: 35.75 kB / 449.7 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2657, allocations: 13.52 kB / 449.8 MB, free: 20.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001018/0.2658, allocations: 116.5 kB / 449.9 MB, free: 20.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001184/0.2659, allocations: 376.1 kB / 450.2 MB, free: 19.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001289/0.266, allocations: 155.6 kB / 450.4 MB, free: 19.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-06/0.266, allocations: 0 / 450.4 MB, free: 19.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002033/0.2662, allocations: 187.3 kB / 450.6 MB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.2663, allocations: 11.34 kB / 450.6 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2663, allocations: 4.672 kB / 450.6 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/0.2663, allocations: 2.656 kB / 450.6 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2664, allocations: 60.28 kB / 450.7 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2664, allocations: 6.297 kB / 450.7 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2665, allocations: 35.88 kB / 450.7 MB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2666, allocations: 8.5 kB / 450.7 MB, free: 19.65 MB / 410.7 MB 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 0.0001242/0.2667, allocations: 203.7 kB / 450.9 MB, free: 19.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.2667, allocations: 32.67 kB / 450.9 MB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.267, allocations: 144 kB / 451.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.267, allocations: 2.531 kB / 451.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.267, allocations: 1.625 kB / 451.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.267, allocations: 1.266 kB / 451.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.2676, allocations: 0.5192 MB / 451.6 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2676, allocations: 2.281 kB / 451.6 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.2677, allocations: 27.62 kB / 451.6 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2677, allocations: 3 kB / 451.6 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2677, allocations: 6.172 kB / 451.6 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2677, allocations: 3.938 kB / 451.6 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2677, allocations: 2.125 kB / 451.6 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.2679, allocations: 292.7 kB / 451.9 MB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.268, allocations: 63.58 kB / 452 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.268, allocations: 6.828 kB / 452 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.2681, allocations: 10.25 kB / 452 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.2681, allocations: 12.67 kB / 452 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2682, allocations: 11.83 kB / 452 MB, free: 18.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.2684, allocations: 199.2 kB / 452.2 MB, free: 18.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2684, allocations: 0 / 452.2 MB, free: 18.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005557/0.2689, allocations: 226.4 kB / 452.4 MB, free: 18.81 MB / 410.7 MB 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.001158/0.2701, allocations: 0.5117 MB / 453 MB, free: 18.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.2704, allocations: 189.2 kB / 453.1 MB, free: 18.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.2704, allocations: 4.375 kB / 453.2 MB, free: 18.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.2705, allocations: 49.88 kB / 453.2 MB, free: 18.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.2712, allocations: 227.1 kB / 453.4 MB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2726, allocations: 0.7393 MB / 454.2 MB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2727, allocations: 122.2 kB / 454.3 MB, free: 18.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000299/0.273, allocations: 74.67 kB / 454.4 MB, free: 18.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.2733, allocations: 191.5 kB / 454.5 MB, free: 18.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2733, allocations: 0 / 454.5 MB, free: 18.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01509/0.2884, allocations: 10.26 MB / 464.8 MB, free: 15.43 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9053431139327586]