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.0006538/0.0006538, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0006974/0.0006974, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8736/0.8736, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.55/0.55, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5554 GB, free: 1.18 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.035e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.176 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01084/0.01086, allocations: 14.37 MB / 0.5695 GB, free: 2.754 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.01486, allocations: 4.103 MB / 0.5735 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.01512, allocations: 19.81 kB / 0.5735 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007327/0.01586, allocations: 266.2 kB / 0.5737 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009577/0.01681, allocations: 0.6837 MB / 0.5744 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.01793, allocations: 0.7453 MB / 0.5751 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009783/0.01891, allocations: 1.001 MB / 0.5761 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.01926, allocations: 264.4 kB / 0.5764 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.01987, allocations: 0.588 MB / 0.5769 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.02014, allocations: 271.1 kB / 0.5772 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.02018, allocations: 28 kB / 0.5772 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.02084, allocations: 0.5379 MB / 0.5777 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.02092, allocations: 103.5 kB / 0.5778 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.02103, allocations: 147.6 kB / 0.578 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007463/0.02178, allocations: 0.7866 MB / 0.5788 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.02179, allocations: 0 / 0.5788 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.766e-06/0.02179, allocations: 3.984 kB / 0.5788 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.02179, allocations: 0 / 0.5788 GB, free: 9.207 MB / 0.4948 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.0008697/0.02266, allocations: 0.7607 MB / 0.5795 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.0227, allocations: 12.62 kB / 0.5795 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.0228, allocations: 56.61 kB / 0.5796 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.02327, allocations: 365.7 kB / 0.5799 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.02329, allocations: 20.5 kB / 0.5799 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.02332, allocations: 24 kB / 0.58 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.02361, allocations: 220 kB / 0.5802 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.02362, allocations: 0 / 0.5802 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.02364, allocations: 8 kB / 0.5802 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.02364, allocations: 4 kB / 0.5802 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.02387, allocations: 165.8 kB / 0.5803 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.02479, allocations: 0.6947 MB / 0.581 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.02498, allocations: 122.6 kB / 0.5811 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.02506, allocations: 68.81 kB / 0.5812 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.816e-05/0.02516, allocations: 35.97 kB / 0.5812 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.02518, allocations: 30.56 kB / 0.5813 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.02518, allocations: 4 kB / 0.5813 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003779/0.02556, allocations: 240.7 kB / 0.5815 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.02559, allocations: 55.41 kB / 0.5815 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.0259, allocations: 445.8 kB / 0.582 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.02592, allocations: 25.7 kB / 0.582 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.02604, allocations: 236.6 kB / 0.5822 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.02606, allocations: 39.64 kB / 0.5823 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.02612, allocations: 65.64 kB / 0.5823 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.02622, allocations: 350.7 kB / 0.5827 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.02632, allocations: 72.81 kB / 0.5827 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.02654, allocations: 412.1 kB / 0.5831 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.02675, allocations: 164.2 kB / 0.5833 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.02675, allocations: 0 / 0.5833 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002866/0.02703, allocations: 257.2 kB / 0.5835 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.02705, allocations: 7.938 kB / 0.5835 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.02705, allocations: 0 / 0.5835 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.02706, allocations: 4 kB / 0.5835 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.02719, allocations: 43.97 kB / 0.5836 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.02719, allocations: 0 / 0.5836 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.02732, allocations: 35.86 kB / 0.5836 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.02734, allocations: 11.98 kB / 0.5836 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001664/0.02751, allocations: 192.1 kB / 0.5838 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002109/0.02772, allocations: 422 kB / 0.5842 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001878/0.02791, allocations: 172.2 kB / 0.5844 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.02791, allocations: 3.938 kB / 0.5844 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002763/0.02819, allocations: 257.1 kB / 0.5846 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-06/0.02819, allocations: 4 kB / 0.5846 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.02819, allocations: 0 / 0.5846 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-06/0.02819, allocations: 4 kB / 0.5846 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.02829, allocations: 47.97 kB / 0.5847 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.02829, allocations: 3.938 kB / 0.5847 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.02843, allocations: 39.92 kB / 0.5847 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.02844, allocations: 11.94 kB / 0.5847 GB, free: 2.699 MB / 0.4948 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 7.825e-05/0.02852, allocations: 200.2 kB / 0.5849 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.02856, allocations: 43.72 kB / 0.585 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.02888, allocations: 243 kB / 0.5852 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.02889, allocations: 4 kB / 0.5852 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.02889, allocations: 0 / 0.5852 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.0289, allocations: 3.984 kB / 0.5852 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.02946, allocations: 0.6066 MB / 0.5858 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.02946, allocations: 4 kB / 0.5858 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.02952, allocations: 27.97 kB / 0.5858 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.02952, allocations: 4.125 kB / 0.5858 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.02954, allocations: 12 kB / 0.5858 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.02954, allocations: 3.938 kB / 0.5858 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02954, allocations: 0 / 0.5858 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.0298, allocations: 338.5 kB / 0.5862 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.02987, allocations: 55.88 kB / 0.5862 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.0299, allocations: 15.98 kB / 0.5862 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.02999, allocations: 11.92 kB / 0.5862 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.03004, allocations: 31.84 kB / 0.5863 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.03005, allocations: 4 kB / 0.5863 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002155/0.03026, allocations: 307.1 kB / 0.5866 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03026, allocations: 0 / 0.5866 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004034/0.03067, allocations: 207.5 kB / 0.5868 GB, free: 0.5234 MB / 0.4948 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.0007706/0.03144, allocations: 499.9 kB / 0.5872 GB, free: 216 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.03184, allocations: 263.7 kB / 0.5875 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.03184, allocations: 0 / 0.5875 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.03195, allocations: 80.27 kB / 0.5876 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.03244, allocations: 158.8 kB / 0.5877 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.03325, allocations: 0.7209 MB / 0.5884 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.03339, allocations: 227.7 kB / 0.5886 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.03345, allocations: 40.48 kB / 0.5887 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.03345, allocations: 0 / 0.5887 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.007307/0.04076, allocations: 7.17 MB / 0.5957 GB, free: 7.586 MB / 0.5105 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.664110904559493] Failed to read output from testmodel.py, exit status != 0: 0.04614813905209303 0.054605537 0.031086482000000002 Calling exit ...