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.001981/0.001981, allocations: 71.77 kB / 20.51 MB, free: 1.273 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.002151/0.002151, allocations: 169 kB / 23.76 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.474/1.474, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.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.9817/0.9817, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.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.002122/0.002122, allocations: 70.28 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1829, allocations: 89.15 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02029/0.2032, allocations: 14.48 MB / 0.6562 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007303/0.2105, allocations: 4.101 MB / 0.6602 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.2111, allocations: 27.75 kB / 0.6603 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009944/0.2121, allocations: 262.4 kB / 0.6605 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.214, allocations: 0.6725 MB / 0.6612 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.216, allocations: 0.7234 MB / 0.6619 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2176, allocations: 1.029 MB / 0.6629 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.218, allocations: 280.4 kB / 0.6632 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009378/0.219, allocations: 498 kB / 0.6636 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.2195, allocations: 310.6 kB / 0.6639 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.2195, allocations: 28 kB / 0.664 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.2206, allocations: 0.5303 MB / 0.6645 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2208, allocations: 111.5 kB / 0.6646 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.221, allocations: 183 kB / 0.6648 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.2222, allocations: 0.7511 MB / 0.6655 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.2222, allocations: 0 / 0.6655 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2222, allocations: 0 / 0.6655 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.2222, allocations: 3.938 kB / 0.6655 GB, free: 1.492 MB / 0.5606 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.001364/0.2235, allocations: 0.7686 MB / 0.6662 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2236, allocations: 12.03 kB / 0.6663 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.2237, allocations: 52.61 kB / 0.6663 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007397/0.2245, allocations: 381.8 kB / 0.6667 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2245, allocations: 20.5 kB / 0.6667 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.2245, allocations: 28 kB / 0.6667 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.225, allocations: 220.1 kB / 0.6669 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.225, allocations: 0 / 0.6669 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.225, allocations: 4 kB / 0.6669 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.225, allocations: 4 kB / 0.6669 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.2255, allocations: 165.9 kB / 0.6671 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.227, allocations: 0.7063 MB / 0.6678 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.2273, allocations: 126.5 kB / 0.6679 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.2275, allocations: 68.8 kB / 0.668 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.2276, allocations: 31.97 kB / 0.668 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.2277, allocations: 30.56 kB / 0.668 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2277, allocations: 0 / 0.668 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006709/0.2283, allocations: 245.2 kB / 0.6683 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.2284, allocations: 55.41 kB / 0.6683 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.2289, allocations: 437.9 kB / 0.6687 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.229, allocations: 33.7 kB / 0.6688 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2292, allocations: 236.6 kB / 0.669 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.2292, allocations: 47.59 kB / 0.669 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.2293, allocations: 53.7 kB / 0.6691 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.2295, allocations: 358.7 kB / 0.6694 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.2297, allocations: 72.81 kB / 0.6695 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.2301, allocations: 416.5 kB / 0.6699 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.2305, allocations: 160.4 kB / 0.67 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2305, allocations: 0 / 0.67 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005395/0.2311, allocations: 257.2 kB / 0.6703 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2311, allocations: 6.344 kB / 0.6703 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2311, allocations: 4 kB / 0.6703 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2311, allocations: 4 kB / 0.6703 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2313, allocations: 43.91 kB / 0.6703 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.2313, allocations: 4 kB / 0.6703 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.2316, allocations: 31.95 kB / 0.6704 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.2317, allocations: 15.94 kB / 0.6704 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003114/0.232, allocations: 192 kB / 0.6706 GB, free: 12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003994/0.2324, allocations: 418.3 kB / 0.671 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003495/0.2327, allocations: 175.2 kB / 0.6711 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.2327, allocations: 4 kB / 0.6711 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005131/0.2332, allocations: 241.4 kB / 0.6714 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.2333, allocations: 8 kB / 0.6714 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.2333, allocations: 4.109 kB / 0.6714 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.2333, allocations: 7.984 kB / 0.6714 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2335, allocations: 51.91 kB / 0.6714 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.2335, allocations: 0 / 0.6714 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.2338, allocations: 35.86 kB / 0.6715 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.2338, allocations: 8 kB / 0.6715 GB, free: 10.95 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.0001439/0.234, allocations: 196.1 kB / 0.6717 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.234, allocations: 47.72 kB / 0.6717 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.2346, allocations: 248.9 kB / 0.672 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2346, allocations: 4 kB / 0.672 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2347, allocations: 0 / 0.672 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2347, allocations: 0 / 0.672 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2357, allocations: 0.6144 MB / 0.6726 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.2357, allocations: 4 kB / 0.6726 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.2359, allocations: 27.98 kB / 0.6726 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2359, allocations: 4 kB / 0.6726 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2359, allocations: 8.078 kB / 0.6726 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2359, allocations: 7.875 kB / 0.6726 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2359, allocations: 3.938 kB / 0.6726 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.2364, allocations: 338.7 kB / 0.6729 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2365, allocations: 59.67 kB / 0.673 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.2366, allocations: 8 kB / 0.673 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2368, allocations: 11.92 kB / 0.673 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.2368, allocations: 23.91 kB / 0.673 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2368, allocations: 4 kB / 0.673 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003844/0.2372, allocations: 311.1 kB / 0.6733 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2372, allocations: 0 / 0.6733 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007367/0.238, allocations: 211.4 kB / 0.6735 GB, free: 8.758 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.001678/0.2396, allocations: 498.7 kB / 0.674 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007182/0.2404, allocations: 255.7 kB / 0.6743 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2404, allocations: 4 kB / 0.6743 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.2406, allocations: 83.88 kB / 0.6743 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.2415, allocations: 171.9 kB / 0.6745 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2428, allocations: 0.7249 MB / 0.6752 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.2431, allocations: 223.8 kB / 0.6754 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002673/0.2433, allocations: 83.52 kB / 0.6755 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.2434, allocations: 32.5 kB / 0.6755 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.2434, allocations: 4 kB / 0.6755 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of Templates: time 0.01651/0.2599, allocations: 8.295 MB / 0.6836 GB, free: 14.69 MB / 0.5919 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.877372799091972] Failed to read output from testmodel.py, exit status != 0: 0.2693800990236923 0.28408244299999996 0.058693805 Calling exit ...