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.001061/0.001061, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002512, allocations: 447.8 kB / 10.34 MB, free: 352 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.001009/0.001009, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002291, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.013/1.013, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09503/1.108, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.6856/0.6856, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06921/0.7548, allocations: 37.86 MB / 400.9 MB, free: 13.73 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.824e-06/1.824e-06, allocations: 0 / 402.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.767e-05, allocations: 2.312 kB / 402.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.02902/0.02905, allocations: 25.03 MB / 427.3 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2261/0.2552, allocations: 10.14 MB / 437.4 MB, free: 4.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003694/0.2589, allocations: 156.9 kB / 437.6 MB, free: 4.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.2611, allocations: 0.7801 MB / 438.3 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.2673, allocations: 2.559 MB / 440.9 MB, free: 4.004 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005782/0.2731, allocations: 2.938 MB / 443.8 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008614/0.2817, allocations: 7.121 MB / 451 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.2853, allocations: 1.997 MB / 453 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007216/0.2925, allocations: 3.742 MB / 456.7 MB, free: 12.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.2954, allocations: 1.785 MB / 458.5 MB, free: 11.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007033/0.2961, allocations: 248.6 kB / 458.7 MB, free: 11.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.2986, allocations: 0.9837 MB / 459.7 MB, free: 10.79 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006824/0.2992, allocations: 0.5895 MB / 460.3 MB, free: 10.2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.3011, allocations: 0.8421 MB / 461.1 MB, free: 9.352 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.305, allocations: 2.387 MB / 463.5 MB, free: 7.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.879e-05/0.305, allocations: 0 / 463.5 MB, free: 7.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.305, allocations: 0.5625 kB / 463.5 MB, free: 7.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.3051, allocations: 0 / 463.5 MB, free: 7.07 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.004285/0.3094, allocations: 3.639 MB / 467.2 MB, free: 3.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.3094, allocations: 12.03 kB / 467.2 MB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000561/0.31, allocations: 429.3 kB / 467.6 MB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.3119, allocations: 1.518 MB / 469.1 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/0.312, allocations: 127 kB / 469.2 MB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3122, allocations: 172 kB / 469.4 MB, free: 1.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3136, allocations: 1.362 MB / 470.8 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.3136, allocations: 4.719 kB / 470.8 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.3137, allocations: 64 kB / 470.8 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.3137, allocations: 42.28 kB / 470.9 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.3142, allocations: 403.4 kB / 471.3 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00477/0.319, allocations: 4.401 MB / 475.7 MB, free: 11.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.3193, allocations: 246.2 kB / 475.9 MB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3194, allocations: 115.6 kB / 476 MB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.3195, allocations: 40.45 kB / 476.1 MB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3196, allocations: 47 kB / 476.1 MB, free: 10.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.766e-06/0.3196, allocations: 0.9062 kB / 476.1 MB, free: 10.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.0006043/0.3202, allocations: 393.8 kB / 476.5 MB, free: 10.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3202, allocations: 60.81 kB / 476.6 MB, free: 10.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3215, allocations: 1.674 MB / 478.2 MB, free: 8.844 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.3217, allocations: 47.3 kB / 478.3 MB, free: 8.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.3221, allocations: 0.8322 MB / 479.1 MB, free: 8.043 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.3223, allocations: 227 kB / 479.3 MB, free: 7.836 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.3224, allocations: 245.3 kB / 479.6 MB, free: 7.617 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.3225, allocations: 347.9 kB / 479.9 MB, free: 7.293 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3227, allocations: 117.5 kB / 480 MB, free: 7.176 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.3232, allocations: 0.9302 MB / 481 MB, free: 6.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.3237, allocations: 0.5697 MB / 481.5 MB, free: 5.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3237, allocations: 0 / 481.5 MB, free: 5.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0007978/0.3245, allocations: 0.6383 MB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3245, allocations: 9.156 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3245, allocations: 8 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3245, allocations: 19.94 kB / 482.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.3252, allocations: 284.6 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.3252, allocations: 25.95 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.3259, allocations: 132.2 kB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.326, allocations: 38.2 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00036/0.3263, allocations: 212.4 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004449/0.3268, allocations: 0.9381 MB / 483.8 MB, free: 2.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004798/0.3273, allocations: 0.5607 MB / 484.4 MB, free: 2.188 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.121e-06/0.3273, allocations: 4 kB / 484.4 MB, free: 2.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006614/0.3279, allocations: 0.6274 MB / 485 MB, free: 1.555 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3279, allocations: 8 kB / 485 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3279, allocations: 9.938 kB / 485 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3279, allocations: 12 kB / 485 MB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.3286, allocations: 291.5 kB / 485.3 MB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3287, allocations: 23.92 kB / 485.3 MB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.3292, allocations: 111.3 kB / 485.4 MB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.3293, allocations: 39.98 kB / 485.5 MB, free: 1.074 MB / 442.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.0001654/0.3294, allocations: 244 kB / 485.7 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3296, allocations: 135.8 kB / 485.9 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.3302, allocations: 484.4 kB / 486.3 MB, free: 232 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.3302, allocations: 11.94 kB / 486.3 MB, free: 220 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3302, allocations: 3.938 kB / 486.3 MB, free: 216 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002424/0.3304, allocations: 316.8 kB / 486.7 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.3319, allocations: 1.335 MB / 488 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3319, allocations: 7.922 kB / 488 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.3322, allocations: 141.5 kB / 488.1 MB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.3325, allocations: 254.3 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3325, allocations: 4.75 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3326, allocations: 15.98 kB / 488.4 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3326, allocations: 0 / 488.4 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3326, allocations: 8.562 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/0.3331, allocations: 0.6267 MB / 489 MB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.3333, allocations: 12.56 kB / 489.1 MB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.3336, allocations: 30.14 kB / 489.1 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.3337, allocations: 44.41 kB / 489.1 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3337, allocations: 25.86 kB / 489.2 MB, free: 13.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006304/0.3343, allocations: 0.8498 MB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 0 / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001547/0.3359, allocations: 1.081 MB / 491.1 MB, free: 11.65 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.00134/0.3372, allocations: 0.619 MB / 491.7 MB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008734/0.3381, allocations: 0.7224 MB / 492.4 MB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.618e-05/0.3381, allocations: 33.05 kB / 492.5 MB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3383, allocations: 164.9 kB / 492.6 MB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.341, allocations: 1.388 MB / 494 MB, free: 9.219 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.3523, allocations: 3.309 MB / 497.3 MB, free: 5.859 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3526, allocations: 377.9 kB / 497.7 MB, free: 5.465 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001277/0.3538, allocations: 374.2 kB / 498 MB, free: 5.125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.3553, allocations: 0.7527 MB / 498.8 MB, free: 4.352 MB / 458.7 MB Notification: Performance of SimCode: time 1.933e-06/0.3553, allocations: 0 / 498.8 MB, free: 4.352 MB / 458.7 MB Notification: Performance of Templates: time 0.05528/0.4106, allocations: 46.2 MB / 0.5322 GB, free: 7.109 MB / 0.4948 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.735859897918999]