Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.001015/0.001015, 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.0009615/0.0009615, 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 0.9913/0.9913, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.6199/0.6199, allocations: 115 MB / 376 MB, free: 7.504 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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 428.8 MB, free: 2.773 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.052e-05, allocations: 2.312 kB / 428.8 MB, free: 2.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.008981/0.009001, allocations: 10.51 MB / 439.3 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006388/0.01539, allocations: 4.291 MB / 443.6 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.01602, allocations: 47.56 kB / 443.6 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.01661, allocations: 241.8 kB / 443.8 MB, free: 3.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.01814, allocations: 0.8774 MB / 444.7 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.01992, allocations: 1.138 MB / 445.9 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2275/0.2474, allocations: 3.396 MB / 449.3 MB, free: 17.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.2492, allocations: 1.198 MB / 450.5 MB, free: 17.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.2522, allocations: 2.036 MB / 452.5 MB, free: 17.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.2549, allocations: 1.757 MB / 454.2 MB, free: 17.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.2553, allocations: 93.56 kB / 454.3 MB, free: 17.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2567, allocations: 0.7049 MB / 455 MB, free: 17.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.2569, allocations: 315.6 kB / 455.3 MB, free: 16.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000568/0.2575, allocations: 466.4 kB / 455.8 MB, free: 16.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.2591, allocations: 1.444 MB / 457.2 MB, free: 16.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2592, allocations: 1.031 kB / 457.2 MB, free: 16.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2592, allocations: 1.188 kB / 457.3 MB, free: 16.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.2592, allocations: 1.594 kB / 457.3 MB, free: 16.83 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001618/0.2608, allocations: 1.435 MB / 458.7 MB, free: 16.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2608, allocations: 9.625 kB / 458.7 MB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005068/0.2613, allocations: 204.8 kB / 458.9 MB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/0.2622, allocations: 0.614 MB / 459.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.2622, allocations: 67.47 kB / 459.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.2623, allocations: 92.16 kB / 459.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.2628, allocations: 0.5228 MB / 460.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2628, allocations: 9.047 kB / 460.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2628, allocations: 21.66 kB / 460.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2628, allocations: 14.66 kB / 460.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.2631, allocations: 235.4 kB / 460.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.2662, allocations: 1.777 MB / 462.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.2665, allocations: 222.1 kB / 462.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.2666, allocations: 85.92 kB / 462.5 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.2667, allocations: 26.48 kB / 462.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2667, allocations: 40.72 kB / 462.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.015e-06/0.2667, allocations: 0 / 462.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006001/0.2673, allocations: 311.6 kB / 462.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.2673, allocations: 56.44 kB / 463 MB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.2678, allocations: 0.6855 MB / 463.7 MB, free: 14.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.2679, allocations: 48.61 kB / 463.7 MB, free: 14.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.2681, allocations: 375.5 kB / 464.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.2681, allocations: 117.6 kB / 464.2 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.2683, allocations: 206.9 kB / 464.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.2684, allocations: 328.6 kB / 464.7 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2685, allocations: 97.33 kB / 464.8 MB, free: 13.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.2692, allocations: 2.093 MB / 466.9 MB, free: 10.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.2695, allocations: 308.6 kB / 467.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2695, allocations: 0.875 kB / 467.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004799/0.27, allocations: 396.4 kB / 467.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.27, allocations: 10.06 kB / 467.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.27, allocations: 0 / 467.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.27, allocations: 8.562 kB / 467.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.2707, allocations: 222.5 kB / 467.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006213/0.2713, allocations: 2.927 MB / 470.7 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.2725, allocations: 374.4 kB / 471.1 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.2726, allocations: 23.42 kB / 471.1 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003156/0.2729, allocations: 192.2 kB / 471.3 MB, free: 7.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005118/0.2734, allocations: 2.114 MB / 473.4 MB, free: 4.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002651/0.2736, allocations: 324.6 kB / 473.8 MB, free: 4.359 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.2736, allocations: 0 / 473.8 MB, free: 4.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0005233/0.2742, allocations: 422.9 kB / 474.2 MB, free: 3.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2742, allocations: 8 kB / 474.2 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2742, allocations: 4 kB / 474.2 MB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.2742, allocations: 4 kB / 474.2 MB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.2747, allocations: 198 kB / 474.4 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.2747, allocations: 11.66 kB / 474.4 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.2761, allocations: 488.2 kB / 474.9 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.2762, allocations: 21.95 kB / 474.9 MB, free: 3.332 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.2763, allocations: 223.7 kB / 475.1 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.2764, allocations: 62.56 kB / 475.2 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.2769, allocations: 345.7 kB / 475.5 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.2769, allocations: 7.875 kB / 475.5 MB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2769, allocations: 3.938 kB / 475.5 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2769, allocations: 3.984 kB / 475.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.278, allocations: 0.8043 MB / 476.3 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.278, allocations: 0 / 476.3 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2783, allocations: 112.8 kB / 476.4 MB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.2783, allocations: 12.45 kB / 476.4 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2784, allocations: 10.62 kB / 476.5 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006839/0.279, allocations: 2.909 MB / 479.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.279, allocations: 3.219 kB / 479.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.2794, allocations: 434.7 kB / 479.8 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.2796, allocations: 106.8 kB / 479.9 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.2797, allocations: 18.2 kB / 479.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.2799, allocations: 19.58 kB / 479.9 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.2799, allocations: 33.52 kB / 480 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.28, allocations: 6.469 kB / 480 MB, free: 14.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.2802, allocations: 337.2 kB / 480.3 MB, free: 14.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2802, allocations: 0 / 480.3 MB, free: 14.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0012/0.2814, allocations: 0.5031 MB / 480.8 MB, free: 13.58 MB / 426.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003716/0.2818, allocations: 193 kB / 481 MB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.283, allocations: 0.5962 MB / 481.6 MB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/0.283, allocations: 8 kB / 481.6 MB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.2832, allocations: 171.6 kB / 481.8 MB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.2841, allocations: 344.5 kB / 482.1 MB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.2863, allocations: 1.444 MB / 483.5 MB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2864, allocations: 179.5 kB / 483.7 MB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007908/0.2872, allocations: 168 kB / 483.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007264/0.2879, allocations: 348.9 kB / 484.2 MB, free: 10.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.204e-06/0.288, allocations: 4 kB / 484.2 MB, free: 10.39 MB / 426.7 MB Notification: Performance of Templates: time 0.02879/0.3167, allocations: 23.3 MB / 0.4956 GB, free: 4.105 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.364425303880125]