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.0006814/0.0006814, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008931/0.001575, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006637/0.0006637, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009293/0.001593, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9496/0.9496, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09197/1.042, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6014/0.6014, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06429/0.6656, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.575e-05, allocations: 2.312 kB / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.01911/0.01913, allocations: 25.03 MB / 428.8 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2112/0.2303, allocations: 10.63 MB / 439.4 MB, free: 4.141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.2331, allocations: 155.2 kB / 439.5 MB, free: 4.141 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.2346, allocations: 0.7816 MB / 440.3 MB, free: 3.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.2391, allocations: 2.573 MB / 442.9 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.2448, allocations: 3.064 MB / 446 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007707/0.2525, allocations: 7.129 MB / 453.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/0.2561, allocations: 2.004 MB / 455.1 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.2613, allocations: 3.707 MB / 458.8 MB, free: 10.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.2637, allocations: 1.796 MB / 460.6 MB, free: 9.867 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.2642, allocations: 250.3 kB / 460.8 MB, free: 9.625 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.266, allocations: 0.9543 MB / 461.8 MB, free: 8.699 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.2665, allocations: 0.5884 MB / 462.4 MB, free: 8.109 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009357/0.2674, allocations: 0.842 MB / 463.2 MB, free: 7.266 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.2697, allocations: 2.388 MB / 465.6 MB, free: 4.984 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.2697, allocations: 1.562 kB / 465.6 MB, free: 4.984 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2697, allocations: 0 / 465.6 MB, free: 4.984 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.619e-05/0.2698, allocations: 0 / 465.6 MB, free: 4.984 MB / 426.7 MB 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.003286/0.273, allocations: 3.648 MB / 469.3 MB, free: 1.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.2731, allocations: 8.031 kB / 469.3 MB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/0.2736, allocations: 433.7 kB / 469.7 MB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.2753, allocations: 1.513 MB / 471.2 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.2753, allocations: 124.3 kB / 471.3 MB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.2755, allocations: 172.8 kB / 471.5 MB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2765, allocations: 1.364 MB / 472.9 MB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.2765, allocations: 7.922 kB / 472.9 MB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.2766, allocations: 65.16 kB / 472.9 MB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.2767, allocations: 44 kB / 473 MB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.2771, allocations: 404.6 kB / 473.4 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.2811, allocations: 4.393 MB / 477.8 MB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2814, allocations: 257.6 kB / 478 MB, free: 8.797 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.2815, allocations: 121.6 kB / 478.1 MB, free: 8.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.2816, allocations: 38.66 kB / 478.2 MB, free: 8.645 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2816, allocations: 47.06 kB / 478.2 MB, free: 8.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 1.713e-06/0.2816, allocations: 3.938 kB / 478.2 MB, free: 8.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.0004778/0.2821, allocations: 398.5 kB / 478.6 MB, free: 8.195 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.2821, allocations: 60.88 kB / 478.7 MB, free: 8.125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2832, allocations: 1.66 MB / 480.3 MB, free: 6.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.2832, allocations: 49.7 kB / 480.4 MB, free: 6.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.2836, allocations: 0.8297 MB / 481.2 MB, free: 5.953 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2837, allocations: 220.9 kB / 481.4 MB, free: 5.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.2839, allocations: 247.3 kB / 481.7 MB, free: 5.531 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.284, allocations: 354.7 kB / 482 MB, free: 5.203 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2842, allocations: 114.4 kB / 482.1 MB, free: 5.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.2846, allocations: 0.9339 MB / 483.1 MB, free: 3.906 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.2852, allocations: 0.6003 MB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.2852, allocations: 0.8438 kB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0006408/0.2858, allocations: 0.6366 MB / 484.3 MB, free: 2.598 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2858, allocations: 13.97 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2858, allocations: 8.5 kB / 484.3 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2859, allocations: 20.89 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.2864, allocations: 283.6 kB / 484.6 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2864, allocations: 19.94 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.2869, allocations: 131 kB / 484.8 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.287, allocations: 39.98 kB / 484.8 MB, free: 2.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003032/0.2873, allocations: 212.3 kB / 485 MB, free: 1.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000445/0.2877, allocations: 0.9377 MB / 485.9 MB, free: 0.707 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004656/0.2882, allocations: 0.5886 MB / 486.5 MB, free: 36 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.2882, allocations: 4 kB / 486.5 MB, free: 32 kB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006244/0.2888, allocations: 0.6317 MB / 487.2 MB, free: 15.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.2888, allocations: 8 kB / 487.2 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2888, allocations: 9.234 kB / 487.2 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.2888, allocations: 15.94 kB / 487.2 MB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.2893, allocations: 283.5 kB / 487.5 MB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.2893, allocations: 19.92 kB / 487.5 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.2898, allocations: 116.4 kB / 487.6 MB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.2898, allocations: 42.5 kB / 487.7 MB, free: 14.92 MB / 458.7 MB 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.0001437/0.29, allocations: 248.9 kB / 487.9 MB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2901, allocations: 133.1 kB / 488 MB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.2906, allocations: 490.4 kB / 488.5 MB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.2907, allocations: 8 kB / 488.5 MB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.2907, allocations: 0 / 488.5 MB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000223/0.2909, allocations: 312.8 kB / 488.8 MB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.2922, allocations: 1.343 MB / 490.2 MB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2922, allocations: 4.469 kB / 490.2 MB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.2925, allocations: 146.3 kB / 490.3 MB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.2928, allocations: 243.1 kB / 490.5 MB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2928, allocations: 5.438 kB / 490.5 MB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.2928, allocations: 19.98 kB / 490.6 MB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2928, allocations: 0 / 490.6 MB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2928, allocations: 7.938 kB / 490.6 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.2934, allocations: 0.6286 MB / 491.2 MB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2935, allocations: 12 kB / 491.2 MB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.2938, allocations: 33.64 kB / 491.2 MB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.2939, allocations: 40.42 kB / 491.3 MB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.2939, allocations: 29.84 kB / 491.3 MB, free: 11.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006057/0.2945, allocations: 0.8474 MB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2945, allocations: 1.938 kB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001333/0.2959, allocations: 1.083 MB / 493.3 MB, free: 9.484 MB / 458.7 MB 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.001209/0.2971, allocations: 0.6225 MB / 493.9 MB, free: 9.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.2978, allocations: 0.7564 MB / 494.6 MB, free: 8.453 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.722e-05/0.2978, allocations: 28.5 kB / 494.7 MB, free: 8.426 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2981, allocations: 226.5 kB / 494.9 MB, free: 8.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/0.3022, allocations: 8.334 MB / 0.4914 GB, free: 14.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.3123, allocations: 3.299 MB / 0.4946 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3125, allocations: 385.9 kB / 0.495 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008602/0.3134, allocations: 375.4 kB / 0.4954 GB, free: 10.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.3147, allocations: 0.7584 MB / 0.4961 GB, free: 9.551 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3147, allocations: 0 / 0.4961 GB, free: 9.551 MB / 474.7 MB Notification: Performance of Templates: time 0.04723/0.362, allocations: 46.12 MB / 0.5411 GB, free: 12.38 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.221366468816996]