Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001397/0.001397, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 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.001654/0.001654, allocations: 219.9 kB / 23.76 MB, free: 4.711 MB / 14.72 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 1.128/1.128, allocations: 150 MB / 463.9 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 178] 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 66.78 kB / 0.6425 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1901, allocations: 89.17 MB / 0.7296 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02126/0.2113, allocations: 15.87 MB / 0.7451 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007646/0.219, allocations: 4.459 MB / 0.7494 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007075/0.2197, allocations: 23.75 kB / 0.7495 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.2208, allocations: 270.3 kB / 0.7497 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.223, allocations: 0.6842 MB / 0.7504 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.2252, allocations: 0.7243 MB / 0.7511 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.227, allocations: 1.033 MB / 0.7521 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.2277, allocations: 292.3 kB / 0.7524 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.2288, allocations: 494.1 kB / 0.7528 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.2294, allocations: 322.5 kB / 0.7532 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2295, allocations: 28 kB / 0.7532 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.231, allocations: 0.6512 MB / 0.7538 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.2311, allocations: 111.5 kB / 0.7539 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.2315, allocations: 218.8 kB / 0.7541 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.233, allocations: 0.7628 MB / 0.7549 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.233, allocations: 3.984 kB / 0.7549 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.233, allocations: 0 / 0.7549 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.233, allocations: 0 / 0.7549 GB, free: 6.812 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001636/0.2346, allocations: 0.7762 MB / 0.7556 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2347, allocations: 8.031 kB / 0.7556 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.2348, allocations: 56.61 kB / 0.7557 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.2357, allocations: 373.8 kB / 0.7561 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.2357, allocations: 24.38 kB / 0.7561 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.2358, allocations: 28 kB / 0.7561 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.2363, allocations: 207.2 kB / 0.7563 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2363, allocations: 0 / 0.7563 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2363, allocations: 11.94 kB / 0.7563 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2363, allocations: 7.984 kB / 0.7563 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.2367, allocations: 173.6 kB / 0.7565 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.2386, allocations: 0.9073 MB / 0.7574 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.2389, allocations: 130.5 kB / 0.7575 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2391, allocations: 68.81 kB / 0.7576 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.2392, allocations: 27.98 kB / 0.7576 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2393, allocations: 34.56 kB / 0.7576 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.2393, allocations: 0 / 0.7576 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006871/0.24, allocations: 251.4 kB / 0.7579 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.24, allocations: 51.41 kB / 0.7579 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.2406, allocations: 470 kB / 0.7584 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2406, allocations: 37.7 kB / 0.7584 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.2408, allocations: 232.8 kB / 0.7586 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.2409, allocations: 47.53 kB / 0.7587 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.241, allocations: 65.69 kB / 0.7587 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.2412, allocations: 350.7 kB / 0.7591 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2414, allocations: 72.81 kB / 0.7591 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.2417, allocations: 155.5 kB / 0.7593 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.2421, allocations: 166.4 kB / 0.7594 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2421, allocations: 0 / 0.7594 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005625/0.2426, allocations: 255.4 kB / 0.7597 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2426, allocations: 8 kB / 0.7597 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.2426, allocations: 3.984 kB / 0.7597 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2427, allocations: 0 / 0.7597 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.2429, allocations: 47.91 kB / 0.7597 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2429, allocations: 4 kB / 0.7597 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2432, allocations: 39.86 kB / 0.7598 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.2433, allocations: 15.98 kB / 0.7598 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003156/0.2436, allocations: 188.1 kB / 0.76 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002727/0.2439, allocations: 164.4 kB / 0.7601 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003573/0.2442, allocations: 172.1 kB / 0.7603 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.2442, allocations: 0 / 0.7603 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005593/0.2448, allocations: 251.9 kB / 0.7605 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2448, allocations: 8 kB / 0.7605 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.2448, allocations: 0 / 0.7605 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.2448, allocations: 0 / 0.7605 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.245, allocations: 51.91 kB / 0.7606 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.245, allocations: 7.984 kB / 0.7606 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.2454, allocations: 32.09 kB / 0.7606 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2454, allocations: 4 kB / 0.7606 GB, free: 0.6094 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001572/0.2455, allocations: 208.1 kB / 0.7608 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.2456, allocations: 51.66 kB / 0.7609 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.2463, allocations: 242.6 kB / 0.7611 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2463, allocations: 0 / 0.7611 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2463, allocations: 0 / 0.7611 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2463, allocations: 11.86 kB / 0.7611 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3572/0.6034, allocations: 0.6653 MB / 0.7618 GB, free: 35.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6034, allocations: 2.875 kB / 0.7618 GB, free: 35.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.6036, allocations: 28.12 kB / 0.7618 GB, free: 35.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.6036, allocations: 5.594 kB / 0.7618 GB, free: 35.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.6036, allocations: 6.391 kB / 0.7618 GB, free: 35.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.6036, allocations: 5.875 kB / 0.7618 GB, free: 35.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6036, allocations: 4.734 kB / 0.7618 GB, free: 35.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.6041, allocations: 353.7 kB / 0.7622 GB, free: 35.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6042, allocations: 60.75 kB / 0.7622 GB, free: 35.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.6042, allocations: 11 kB / 0.7622 GB, free: 35.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.6044, allocations: 12.52 kB / 0.7622 GB, free: 35.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.6045, allocations: 14.77 kB / 0.7623 GB, free: 35.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.6045, allocations: 9.359 kB / 0.7623 GB, free: 35.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003202/0.6048, allocations: 335.6 kB / 0.7626 GB, free: 35.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6048, allocations: 0 / 0.7626 GB, free: 35.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006643/0.6055, allocations: 206.7 kB / 0.7628 GB, free: 35.69 MB / 0.5762 GB 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 (16): * Single equations (assignments): 14 * 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.001519/0.607, allocations: 470.7 kB / 0.7632 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006807/0.6077, allocations: 258.5 kB / 0.7635 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6077, allocations: 0.7188 kB / 0.7635 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.6079, allocations: 85 kB / 0.7636 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/0.6088, allocations: 200.1 kB / 0.7638 GB, free: 35.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.61, allocations: 0.7474 MB / 0.7645 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.6102, allocations: 0.8244 MB / 0.7653 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.6103, allocations: 38.77 kB / 0.7653 GB, free: 34.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.293e-06/0.6103, allocations: 2.969 kB / 0.7653 GB, free: 34.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01361/0.6239, allocations: 7.394 MB / 0.7726 GB, free: 33.8 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.767053507035598] Failed to read output from testmodel.py, exit status != 0: 0.6342888989020139 0.6477237379999999 0.411696316 Calling exit ...