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.001937/0.001937, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002682/0.002682, allocations: 209.5 kB / 22.99 MB, free: 4.605 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.797 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/1, allocations: 149.9 MB / 463 MB, free: 10.37 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.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: 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.002132/0.002132, allocations: 70.98 kB / 0.6416 GB, free: 9.648 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2012, allocations: 89.17 MB / 0.7286 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02244/0.2237, allocations: 16.33 MB / 0.7446 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008199/0.2319, allocations: 4.672 MB / 0.7491 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006301/0.2325, allocations: 19.81 kB / 0.7492 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.2334, allocations: 254.4 kB / 0.7494 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.2354, allocations: 0.6752 MB / 0.7501 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.2375, allocations: 0.7423 MB / 0.7508 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.2389, allocations: 0.9741 MB / 0.7517 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.2393, allocations: 285.5 kB / 0.752 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008896/0.2402, allocations: 498 kB / 0.7525 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004656/0.2407, allocations: 310.6 kB / 0.7528 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.2408, allocations: 31.94 kB / 0.7528 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.242, allocations: 0.6083 MB / 0.7534 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.2422, allocations: 135.5 kB / 0.7535 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.2424, allocations: 194.9 kB / 0.7537 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.2439, allocations: 0.8717 MB / 0.7546 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2439, allocations: 0 / 0.7546 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2439, allocations: 0 / 0.7546 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.2439, allocations: 0 / 0.7546 GB, free: 5.898 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001596/0.2455, allocations: 0.8306 MB / 0.7554 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.2456, allocations: 12.03 kB / 0.7554 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.2458, allocations: 60.56 kB / 0.7555 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/0.2467, allocations: 410 kB / 0.7558 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.2467, allocations: 20.5 kB / 0.7559 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.2468, allocations: 32 kB / 0.7559 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.2474, allocations: 281.3 kB / 0.7562 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2474, allocations: 0 / 0.7562 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.2474, allocations: 12 kB / 0.7562 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.2474, allocations: 4 kB / 0.7562 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.2479, allocations: 197.8 kB / 0.7564 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2498, allocations: 1.167 MB / 0.7575 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.2501, allocations: 154.8 kB / 0.7577 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2503, allocations: 72.81 kB / 0.7577 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.2516, allocations: 0.5388 MB / 0.7582 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2516, allocations: 46.56 kB / 0.7583 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.552e-06/0.2516, allocations: 0 / 0.7583 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006666/0.2523, allocations: 246 kB / 0.7585 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.2523, allocations: 55.41 kB / 0.7586 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.253, allocations: 0.5605 MB / 0.7591 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.2531, allocations: 33.7 kB / 0.7592 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.2533, allocations: 272.3 kB / 0.7594 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.2534, allocations: 51.59 kB / 0.7595 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2535, allocations: 73.92 kB / 0.7595 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2537, allocations: 358.8 kB / 0.7599 GB, free: 236 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.2539, allocations: 77.94 kB / 0.76 GB, free: 156 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4396/0.6935, allocations: 441 kB / 0.7604 GB, free: 35.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.694, allocations: 229.3 kB / 0.7606 GB, free: 35.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.694, allocations: 0.9688 kB / 0.7606 GB, free: 35.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007431/0.6947, allocations: 315.6 kB / 0.7609 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6947, allocations: 6.781 kB / 0.7609 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.6947, allocations: 3.312 kB / 0.7609 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.6948, allocations: 5.984 kB / 0.7609 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.695, allocations: 66.14 kB / 0.761 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.695, allocations: 5.719 kB / 0.761 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.6954, allocations: 39.25 kB / 0.761 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.6954, allocations: 16.77 kB / 0.761 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003396/0.6958, allocations: 216.9 kB / 0.7612 GB, free: 35.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002916/0.696, allocations: 443.2 kB / 0.7617 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003317/0.6964, allocations: 232.8 kB / 0.7619 GB, free: 35.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.6964, allocations: 0 / 0.7619 GB, free: 35.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005245/0.6969, allocations: 309.9 kB / 0.7622 GB, free: 35.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.6969, allocations: 5.844 kB / 0.7622 GB, free: 35.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6969, allocations: 4.656 kB / 0.7622 GB, free: 35.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.6969, allocations: 4.125 kB / 0.7622 GB, free: 35.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.6971, allocations: 63.34 kB / 0.7623 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6971, allocations: 6.328 kB / 0.7623 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.6974, allocations: 40.28 kB / 0.7623 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.6975, allocations: 17.44 kB / 0.7623 GB, free: 35.21 MB / 0.5762 GB 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 0.000118/0.6976, allocations: 198.6 kB / 0.7625 GB, free: 35.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.6977, allocations: 47.92 kB / 0.7626 GB, free: 35.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.6982, allocations: 263.5 kB / 0.7628 GB, free: 34.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6983, allocations: 3.344 kB / 0.7628 GB, free: 34.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6983, allocations: 3.188 kB / 0.7628 GB, free: 34.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6983, allocations: 0.5938 kB / 0.7628 GB, free: 34.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.6993, allocations: 0.6452 MB / 0.7634 GB, free: 34.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6993, allocations: 3.688 kB / 0.7634 GB, free: 34.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6994, allocations: 33.95 kB / 0.7635 GB, free: 34.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.6994, allocations: 2.75 kB / 0.7635 GB, free: 34.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.6995, allocations: 9.719 kB / 0.7635 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6995, allocations: 0 / 0.7635 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6995, allocations: 9.125 kB / 0.7635 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.6999, allocations: 345.1 kB / 0.7638 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.7001, allocations: 76.42 kB / 0.7639 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.7001, allocations: 6.438 kB / 0.7639 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.7003, allocations: 12.78 kB / 0.7639 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.7004, allocations: 16.92 kB / 0.7639 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.7004, allocations: 10.11 kB / 0.7639 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005055/0.7009, allocations: 400.2 kB / 0.7643 GB, free: 34.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7009, allocations: 0.7188 kB / 0.7643 GB, free: 34.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009191/0.7018, allocations: 245.9 kB / 0.7646 GB, free: 34.36 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 (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.001826/0.7036, allocations: 0.4967 MB / 0.765 GB, free: 34.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008044/0.7044, allocations: 311.5 kB / 0.7653 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7044, allocations: 0 / 0.7653 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.7047, allocations: 88.12 kB / 0.7654 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.7058, allocations: 218.7 kB / 0.7656 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.707, allocations: 0.8209 MB / 0.7664 GB, free: 33.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7073, allocations: 240.8 kB / 0.7667 GB, free: 33.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003017/0.7076, allocations: 103.5 kB / 0.7668 GB, free: 33.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.7077, allocations: 44.56 kB / 0.7668 GB, free: 33.72 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.7077, allocations: 0 / 0.7668 GB, free: 33.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.02361/0.7313, allocations: 10.82 MB / 0.7774 GB, free: 32.56 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.91353995166719] Failed to read output from testmodel.py, exit status != 0: 0.7410782147198915 0.752136961 0.5055587570000001 Calling exit ...