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.001446/0.001446, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001696/0.001696, allocations: 211.5 kB / 23.74 MB, free: 4.445 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.746 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 0.9906/0.9906, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 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.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.00207/0.00207, allocations: 76.73 kB / 0.6423 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1775, allocations: 89.16 MB / 0.7294 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01915/0.1966, allocations: 14.49 MB / 0.7435 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007184/0.2038, allocations: 4.107 MB / 0.7475 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.2042, allocations: 23.75 kB / 0.7476 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009356/0.2052, allocations: 258.3 kB / 0.7478 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.2068, allocations: 0.6725 MB / 0.7485 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.2087, allocations: 0.7202 MB / 0.7492 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.2101, allocations: 1.033 MB / 0.7502 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.2106, allocations: 284.3 kB / 0.7504 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009201/0.2115, allocations: 0.4902 MB / 0.7509 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.212, allocations: 310.6 kB / 0.7512 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.2121, allocations: 28 kB / 0.7512 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.2131, allocations: 0.5264 MB / 0.7518 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2132, allocations: 111.5 kB / 0.7519 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.2134, allocations: 179.1 kB / 0.752 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.2145, allocations: 0.7511 MB / 0.7528 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2145, allocations: 0 / 0.7528 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2145, allocations: 4 kB / 0.7528 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2145, allocations: 0 / 0.7528 GB, free: 8.508 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.001307/0.2158, allocations: 0.7723 MB / 0.7535 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2159, allocations: 8.031 kB / 0.7535 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.216, allocations: 60.55 kB / 0.7536 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.2167, allocations: 373.8 kB / 0.754 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2167, allocations: 20.44 kB / 0.754 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.2168, allocations: 24 kB / 0.754 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.2173, allocations: 215.2 kB / 0.7542 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2173, allocations: 0 / 0.7542 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.2173, allocations: 19.98 kB / 0.7542 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2173, allocations: 4 kB / 0.7542 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.2177, allocations: 161.6 kB / 0.7544 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.2192, allocations: 0.6984 MB / 0.7551 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.2195, allocations: 126.5 kB / 0.7552 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2197, allocations: 64.81 kB / 0.7552 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.2198, allocations: 43.95 kB / 0.7553 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2199, allocations: 34.56 kB / 0.7553 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2199, allocations: 0 / 0.7553 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006469/0.2205, allocations: 238.1 kB / 0.7555 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2206, allocations: 55.41 kB / 0.7556 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.2211, allocations: 441.9 kB / 0.756 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2211, allocations: 29.7 kB / 0.756 GB, free: 5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2213, allocations: 228.6 kB / 0.7563 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.2214, allocations: 59.66 kB / 0.7563 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.2215, allocations: 57.69 kB / 0.7564 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.2216, allocations: 350.7 kB / 0.7567 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2218, allocations: 76.81 kB / 0.7568 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.2223, allocations: 408.5 kB / 0.7572 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.2226, allocations: 164.6 kB / 0.7573 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2226, allocations: 0 / 0.7573 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005632/0.2232, allocations: 257.2 kB / 0.7576 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2232, allocations: 4 kB / 0.7576 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2232, allocations: 0 / 0.7576 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2232, allocations: 4 kB / 0.7576 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.2235, allocations: 51.91 kB / 0.7576 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2235, allocations: 0 / 0.7576 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.2238, allocations: 31.86 kB / 0.7577 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2238, allocations: 12 kB / 0.7577 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000313/0.2241, allocations: 196 kB / 0.7579 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004097/0.2245, allocations: 414.4 kB / 0.7583 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003566/0.2249, allocations: 175.1 kB / 0.7584 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2249, allocations: 0 / 0.7584 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005219/0.2254, allocations: 245.4 kB / 0.7587 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2254, allocations: 4 kB / 0.7587 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2254, allocations: 7.938 kB / 0.7587 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.2254, allocations: 4.172 kB / 0.7587 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.2256, allocations: 43.92 kB / 0.7587 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2256, allocations: 11.97 kB / 0.7587 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2259, allocations: 35.92 kB / 0.7588 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.226, allocations: 19.98 kB / 0.7588 GB, free: 1.957 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.0001405/0.2261, allocations: 196.1 kB / 0.759 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.2262, allocations: 43.72 kB / 0.759 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.2268, allocations: 251.1 kB / 0.7592 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2268, allocations: 0 / 0.7592 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2268, allocations: 0 / 0.7592 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2268, allocations: 0 / 0.7592 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2278, allocations: 0.626 MB / 0.7599 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2278, allocations: 0 / 0.7599 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.2279, allocations: 27.98 kB / 0.7599 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2279, allocations: 0 / 0.7599 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.228, allocations: 8 kB / 0.7599 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.228, allocations: 3.938 kB / 0.7599 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.228, allocations: 4.125 kB / 0.7599 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.2285, allocations: 350.5 kB / 0.7602 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2286, allocations: 51.67 kB / 0.7603 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.2287, allocations: 4 kB / 0.7603 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2289, allocations: 19.92 kB / 0.7603 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.2289, allocations: 11.97 kB / 0.7603 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2289, allocations: 15.94 kB / 0.7603 GB, free: 280 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.3009/0.5298, allocations: 298.8 kB / 0.7606 GB, free: 35.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5298, allocations: 4.062 kB / 0.7606 GB, free: 35.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008214/0.5307, allocations: 213.5 kB / 0.7608 GB, free: 35.98 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.001617/0.5323, allocations: 482.1 kB / 0.7613 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000648/0.5329, allocations: 264.7 kB / 0.7615 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5329, allocations: 3.031 kB / 0.7615 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.5331, allocations: 79.81 kB / 0.7616 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.534, allocations: 179.2 kB / 0.7618 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.535, allocations: 0.7425 MB / 0.7625 GB, free: 35.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.5352, allocations: 227.3 kB / 0.7627 GB, free: 35.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.5353, allocations: 38.52 kB / 0.7628 GB, free: 35.41 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.5353, allocations: 0 / 0.7628 GB, free: 35.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.01075/0.5461, allocations: 7.234 MB / 0.7698 GB, free: 34.71 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: 9.804319771938026] Failed to read output from testmodel.py, exit status != 0: 0.5547364042140543 0.566713703 0.34956096000000003 Calling exit ...