Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.0009943/0.0009943, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001107/0.001107, allocations: 169 kB / 24.14 MB, free: 352 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.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.6254/0.6254, allocations: 115 MB / 376 MB, free: 7.5 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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 428.8 MB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.564e-05, allocations: 2.312 kB / 428.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01146/0.01149, allocations: 8.458 MB / 437.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006929/0.01842, allocations: 3.293 MB / 440.5 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.01892, allocations: 27.69 kB / 440.5 MB, free: 6.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.01941, allocations: 170.6 kB / 440.7 MB, free: 6.762 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009217/0.02033, allocations: 0.5201 MB / 441.2 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.02176, allocations: 0.8883 MB / 442.1 MB, free: 5.348 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.02335, allocations: 1.482 MB / 443.6 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006484/0.02399, allocations: 422.6 kB / 444 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009934/0.02499, allocations: 0.7325 MB / 444.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006885/0.02568, allocations: 438.7 kB / 445.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.02579, allocations: 52 kB / 445.2 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.02652, allocations: 471 kB / 445.7 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.02665, allocations: 167.3 kB / 445.8 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.02688, allocations: 263.3 kB / 446.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009093/0.02779, allocations: 0.8135 MB / 446.9 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.02779, allocations: 0 / 446.9 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.02779, allocations: 0 / 446.9 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.0278, allocations: 0 / 446.9 MB, free: 0.5156 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.2345/0.2623, allocations: 0.9778 MB / 447.9 MB, free: 21.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2623, allocations: 9 kB / 447.9 MB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.2633, allocations: 256.6 kB / 448.1 MB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.2639, allocations: 403.7 kB / 448.5 MB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.2639, allocations: 37.34 kB / 448.6 MB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.264, allocations: 52.59 kB / 448.6 MB, free: 21.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/0.2647, allocations: 0.6771 MB / 449.3 MB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2648, allocations: 3.875 kB / 449.3 MB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.2648, allocations: 19.73 kB / 449.3 MB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2648, allocations: 10.81 kB / 449.3 MB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.2652, allocations: 402.1 kB / 449.7 MB, free: 20.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.2678, allocations: 2.563 MB / 452.3 MB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.2681, allocations: 283.9 kB / 452.6 MB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2683, allocations: 165.3 kB / 452.7 MB, free: 19.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.2684, allocations: 25.42 kB / 452.8 MB, free: 19.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2684, allocations: 38.86 kB / 452.8 MB, free: 18.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.973e-06/0.2684, allocations: 0 / 452.8 MB, free: 18.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.002317/0.2708, allocations: 0.8153 MB / 453.6 MB, free: 18.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.2708, allocations: 58.22 kB / 453.7 MB, free: 18.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.2711, allocations: 484.7 kB / 454.1 MB, free: 18.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.2712, allocations: 31.77 kB / 454.2 MB, free: 18.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2713, allocations: 283.7 kB / 454.5 MB, free: 18.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.2714, allocations: 135.2 kB / 454.6 MB, free: 18.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.2715, allocations: 112.6 kB / 454.7 MB, free: 18.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.2716, allocations: 375.2 kB / 455.1 MB, free: 18.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2718, allocations: 153.7 kB / 455.2 MB, free: 18.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.272, allocations: 376.3 kB / 455.6 MB, free: 17.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.2725, allocations: 495.7 kB / 456.1 MB, free: 17.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2725, allocations: 0 / 456.1 MB, free: 17.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001978/0.2745, allocations: 0.8363 MB / 456.9 MB, free: 17.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2745, allocations: 7.062 kB / 456.9 MB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2745, allocations: 7.344 kB / 456.9 MB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.2759, allocations: 355.7 kB / 457.3 MB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.2763, allocations: 137.4 kB / 457.4 MB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000295/0.2766, allocations: 0.5795 MB / 458 MB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.2769, allocations: 78.28 kB / 458 MB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.2769, allocations: 23.11 kB / 458.1 MB, free: 17.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002525/0.2772, allocations: 238.4 kB / 458.3 MB, free: 17.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002414/0.2774, allocations: 374.3 kB / 458.7 MB, free: 16.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004114/0.2778, allocations: 489.8 kB / 459.1 MB, free: 16.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.2778, allocations: 0 / 459.1 MB, free: 16.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0004774/0.2783, allocations: 0.491 MB / 459.6 MB, free: 16.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.2783, allocations: 7.312 kB / 459.6 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2783, allocations: 4.5 kB / 459.6 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.2783, allocations: 8.844 kB / 459.7 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.2787, allocations: 164 kB / 459.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2787, allocations: 15.47 kB / 459.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.279, allocations: 66.78 kB / 459.9 MB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.279, allocations: 21.36 kB / 459.9 MB, free: 16.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.2791, allocations: 217.6 kB / 460.1 MB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.2792, allocations: 45.61 kB / 460.2 MB, free: 16.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.2808, allocations: 0.7636 MB / 460.9 MB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2808, allocations: 13.31 kB / 461 MB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.2808, allocations: 0 / 461 MB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2808, allocations: 3.344 kB / 461 MB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.283, allocations: 1.217 MB / 462.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.283, allocations: 3.812 kB / 462.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.2832, allocations: 86.89 kB / 462.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.2844, allocations: 322 kB / 462.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2845, allocations: 10.36 kB / 462.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004751/0.2849, allocations: 0.6089 MB / 463.2 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2849, allocations: 2.266 kB / 463.2 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.2864, allocations: 0.8268 MB / 464 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2866, allocations: 88.59 kB / 464.1 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.2866, allocations: 7.719 kB / 464.1 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2868, allocations: 33.25 kB / 464.2 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.2869, allocations: 37.44 kB / 464.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.2869, allocations: 11.58 kB / 464.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.287, allocations: 209.6 kB / 464.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.287, allocations: 0.5469 kB / 464.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006336/0.2877, allocations: 388.8 kB / 464.8 MB, free: 14.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003086/0.288, allocations: 193.3 kB / 465 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007209/0.2887, allocations: 0.675 MB / 465.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.2887, allocations: 4 kB / 465.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.2892, allocations: 268.6 kB / 465.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.2897, allocations: 215.9 kB / 466.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.291, allocations: 1.059 MB / 467.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.355e-05/0.2911, allocations: 144 kB / 467.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004566/0.2916, allocations: 142.6 kB / 467.5 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/0.292, allocations: 220.3 kB / 467.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.292, allocations: 0 / 467.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01965/0.3117, allocations: 16.2 MB / 483.9 MB, free: 12.55 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.896264567039907]