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.0006484/0.0006484, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009718/0.00162, 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.0006522/0.0006522, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008697/0.001522, 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.9036/0.9036, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09016/0.9938, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.6485/0.6485, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06287/0.7113, allocations: 38.15 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.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 1.142e-06/1.142e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.624e-05, allocations: 2.312 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006356/0.006373, allocations: 7.578 MB / 411.3 MB, free: 3.332 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004206/0.01058, allocations: 3.655 MB / 415 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.01087, allocations: 27.75 kB / 415 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.01133, allocations: 198.6 kB / 415.2 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007527/0.01208, allocations: 493 kB / 415.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.0135, allocations: 0.8642 MB / 416.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000845/0.01434, allocations: 0.9505 MB / 417.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.01462, allocations: 277.7 kB / 417.7 MB, free: 12.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007012/0.01532, allocations: 0.5106 MB / 418.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.01556, allocations: 259.2 kB / 418.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.0156, allocations: 35.94 kB / 418.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000579/0.01618, allocations: 0.5184 MB / 419.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.01626, allocations: 115.6 kB / 419.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.01636, allocations: 135.6 kB / 419.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.01694, allocations: 0.6112 MB / 419.9 MB, free: 10.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.01695, allocations: 0 / 419.9 MB, free: 10.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01695, allocations: 0 / 419.9 MB, free: 10.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.01696, allocations: 0 / 419.9 MB, free: 10.67 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.0007876/0.01775, allocations: 0.9109 MB / 420.8 MB, free: 9.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.01778, allocations: 8.031 kB / 420.8 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.01793, allocations: 137.9 kB / 421 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.01828, allocations: 374.2 kB / 421.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.0183, allocations: 20.5 kB / 421.4 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.01833, allocations: 28 kB / 421.4 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.01854, allocations: 224.8 kB / 421.6 MB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01855, allocations: 8 kB / 421.6 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.01856, allocations: 8 kB / 421.6 MB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01857, allocations: 11.94 kB / 421.6 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.01865, allocations: 70.22 kB / 421.7 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.01946, allocations: 0.92 MB / 422.6 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.01957, allocations: 125.2 kB / 422.7 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.01961, allocations: 35.61 kB / 422.8 MB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/0.02013, allocations: 474.3 kB / 423.2 MB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.02015, allocations: 38.5 kB / 423.3 MB, free: 7.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.02015, allocations: 0 / 423.3 MB, free: 7.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001726/0.02032, allocations: 161.4 kB / 423.4 MB, free: 6.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.02035, allocations: 51.41 kB / 423.5 MB, free: 6.906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.02061, allocations: 464.8 kB / 423.9 MB, free: 6.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.02063, allocations: 25.7 kB / 424 MB, free: 6.406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.02072, allocations: 217.3 kB / 424.2 MB, free: 6.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.02075, allocations: 51.58 kB / 424.2 MB, free: 6.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.02081, allocations: 77.83 kB / 424.3 MB, free: 6.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.02089, allocations: 358.7 kB / 424.7 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.02093, allocations: 36.73 kB / 424.7 MB, free: 5.652 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.02108, allocations: 378 kB / 425.1 MB, free: 5.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.02146, allocations: 169.7 kB / 425.2 MB, free: 4.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02146, allocations: 7.984 kB / 425.2 MB, free: 4.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001663/0.02162, allocations: 175 kB / 425.4 MB, free: 4.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.02163, allocations: 11.91 kB / 425.4 MB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.02164, allocations: 4 kB / 425.4 MB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.02165, allocations: 7.938 kB / 425.4 MB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.02179, allocations: 71.84 kB / 425.5 MB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.0218, allocations: 8.234 kB / 425.5 MB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.02191, allocations: 31.84 kB / 425.5 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.02192, allocations: 12 kB / 425.5 MB, free: 4.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.821e-05/0.022, allocations: 118.3 kB / 425.7 MB, free: 4.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001312/0.02213, allocations: 369.8 kB / 426 MB, free: 4.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001113/0.02225, allocations: 174.8 kB / 426.2 MB, free: 3.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.02225, allocations: 0 / 426.2 MB, free: 3.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001511/0.0224, allocations: 179.1 kB / 426.4 MB, free: 3.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.0224, allocations: 11.98 kB / 426.4 MB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.02241, allocations: 0 / 426.4 MB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.02241, allocations: 4 kB / 426.4 MB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.02251, allocations: 68.16 kB / 426.5 MB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.02252, allocations: 15.92 kB / 426.5 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.02263, allocations: 31.88 kB / 426.5 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.02265, allocations: 12 kB / 426.5 MB, free: 3.527 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 6.347e-05/0.02271, allocations: 192.2 kB / 426.7 MB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.02274, allocations: 27.97 kB / 426.7 MB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.02291, allocations: 141.7 kB / 426.9 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.02292, allocations: 19.91 kB / 426.9 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.02292, allocations: 4 kB / 426.9 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.02292, allocations: 0 / 426.9 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.02329, allocations: 0.5092 MB / 427.4 MB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.02329, allocations: 0 / 427.4 MB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.02335, allocations: 35.92 kB / 427.4 MB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.02341, allocations: 67.52 kB / 427.5 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.02341, allocations: 4 kB / 427.5 MB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.02342, allocations: 4 kB / 427.5 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02342, allocations: 4 kB / 427.5 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02342, allocations: 4.125 kB / 427.5 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.02357, allocations: 296.7 kB / 427.8 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.02359, allocations: 8 kB / 427.8 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.02367, allocations: 7.984 kB / 427.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.0237, allocations: 11.98 kB / 427.8 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.0237, allocations: 4 kB / 427.8 MB, free: 2.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.02384, allocations: 207.2 kB / 428 MB, free: 1.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02384, allocations: 0 / 428 MB, free: 1.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003493/0.02419, allocations: 235.5 kB / 428.3 MB, free: 1.68 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.001012/0.0252, allocations: 0.573 MB / 428.8 MB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.0254, allocations: 190.5 kB / 429 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.02541, allocations: 11.94 kB / 429 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.0255, allocations: 72.12 kB / 429.1 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1686/0.1941, allocations: 1.62 MB / 430.7 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.197, allocations: 0.7526 MB / 431.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.03e-05/0.1971, allocations: 123.7 kB / 431.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.1974, allocations: 68.77 kB / 431.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.1977, allocations: 190.2 kB / 431.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.1977, allocations: 3.5 kB / 431.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01377/0.2114, allocations: 10.93 MB / 442.8 MB, free: 8.66 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.554353120736778]