Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002472/0.002472, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.002869/0.002869, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.586/1.586, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.186/3.186, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.395e-05, allocations: 9.594 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.03174/0.03178, allocations: 14.37 MB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007506/0.03928, allocations: 4.103 MB / 1.019 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.03978, allocations: 19.81 kB / 1.019 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.04078, allocations: 266.2 kB / 1.019 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.04261, allocations: 0.6836 MB / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.04462, allocations: 0.7425 MB / 1.021 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.04615, allocations: 1.013 MB / 1.022 GB, free: 7.75 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.04663, allocations: 264.4 kB / 1.022 GB, free: 7.484 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.04799, allocations: 0.5802 MB / 1.023 GB, free: 6.902 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.04847, allocations: 275.2 kB / 1.023 GB, free: 6.633 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.04854, allocations: 28 kB / 1.023 GB, free: 6.605 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.04965, allocations: 0.5495 MB / 1.023 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.0498, allocations: 103.5 kB / 1.024 GB, free: 5.953 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.05001, allocations: 147.5 kB / 1.024 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.05129, allocations: 0.7788 MB / 1.024 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.05129, allocations: 0 / 1.024 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.002e-06/0.05129, allocations: 4 kB / 1.024 GB, free: 5.023 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.0513, allocations: 0 / 1.024 GB, free: 5.023 MB / 0.9792 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.001341/0.05264, allocations: 0.7568 MB / 1.025 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.05268, allocations: 13.34 kB / 1.025 GB, free: 4.223 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.0528, allocations: 56.61 kB / 1.025 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.05345, allocations: 358.4 kB / 1.026 GB, free: 3.797 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.05348, allocations: 24.88 kB / 1.026 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.05353, allocations: 27.94 kB / 1.026 GB, free: 3.746 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.054, allocations: 216 kB / 1.026 GB, free: 3.531 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.05401, allocations: 0 / 1.026 GB, free: 3.531 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.05404, allocations: 4 kB / 1.026 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.05404, allocations: 11.94 kB / 1.026 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.05447, allocations: 161.9 kB / 1.026 GB, free: 3.359 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.05604, allocations: 0.6948 MB / 1.027 GB, free: 2.625 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.05635, allocations: 126.5 kB / 1.027 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.05652, allocations: 64.81 kB / 1.027 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.05667, allocations: 43.89 kB / 1.027 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.05671, allocations: 34.5 kB / 1.027 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.05671, allocations: 0 / 1.027 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14): time 0.0006748/0.05739, allocations: 238.8 kB / 1.027 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.05744, allocations: 59.41 kB / 1.027 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/0.058, allocations: 433.9 kB / 1.028 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.05803, allocations: 25.7 kB / 1.028 GB, free: 1.566 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.05825, allocations: 232.6 kB / 1.028 GB, free: 1.336 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.05831, allocations: 55.59 kB / 1.028 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.05841, allocations: 57.69 kB / 1.028 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.05862, allocations: 350.8 kB / 1.028 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.05881, allocations: 72.75 kB / 1.028 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.05927, allocations: 412.5 kB / 1.029 GB, free: 308 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.05965, allocations: 162.5 kB / 1.029 GB, free: 136 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.05965, allocations: 0 / 1.029 GB, free: 136 kB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008336/0.06048, allocations: 259.3 kB / 1.029 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.0605, allocations: 7.938 kB / 1.029 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.0605, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.06052, allocations: 4 kB / 1.029 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.06075, allocations: 43.97 kB / 1.029 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.06075, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.06104, allocations: 35.81 kB / 1.029 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.06107, allocations: 11.94 kB / 1.029 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000314/0.06139, allocations: 196.1 kB / 1.03 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004377/0.06182, allocations: 417 kB / 1.03 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003716/0.0622, allocations: 168.2 kB / 1.03 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.0622, allocations: 4 kB / 1.03 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005292/0.06273, allocations: 250.2 kB / 1.03 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.06274, allocations: 7.938 kB / 1.03 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.06274, allocations: 3.984 kB / 1.03 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.06275, allocations: 4 kB / 1.03 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.06297, allocations: 60.16 kB / 1.03 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.06297, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.06328, allocations: 35.86 kB / 1.03 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.0633, allocations: 11.98 kB / 1.03 GB, free: 14.52 MB / 0.9948 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.0001472/0.06345, allocations: 190.9 kB / 1.031 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.06353, allocations: 51.64 kB / 1.031 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.06413, allocations: 244.4 kB / 1.031 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.06414, allocations: 4 kB / 1.031 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.06414, allocations: 3.938 kB / 1.031 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.06415, allocations: 3.984 kB / 1.031 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.0652, allocations: 0.6166 MB / 1.032 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.0652, allocations: 4 kB / 1.032 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.06534, allocations: 32.05 kB / 1.032 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.06534, allocations: 7.984 kB / 1.032 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.06536, allocations: 4 kB / 1.032 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.06536, allocations: 4 kB / 1.032 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.06536, allocations: 0 / 1.032 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.06592, allocations: 342.4 kB / 1.032 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.06603, allocations: 55.67 kB / 1.032 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.06607, allocations: 4 kB / 1.032 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.06626, allocations: 19.97 kB / 1.032 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.06632, allocations: 15.98 kB / 1.032 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.06634, allocations: 7.938 kB / 1.032 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003932/0.06673, allocations: 303.1 kB / 1.032 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.06673, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006756/0.06741, allocations: 207.5 kB / 1.032 GB, free: 12.34 MB / 0.9948 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.002684/0.07009, allocations: 0.4989 MB / 1.033 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006806/0.07077, allocations: 247.7 kB / 1.033 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.07077, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.07098, allocations: 92.14 kB / 1.033 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008663/0.07184, allocations: 157.2 kB / 1.033 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.07311, allocations: 0.6835 MB / 1.034 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.07337, allocations: 227.7 kB / 1.034 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.07363, allocations: 79.53 kB / 1.034 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.07371, allocations: 36.5 kB / 1.034 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of SimCode: time 4.6e-07/0.07371, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of Templates: time 0.01657/0.09029, allocations: 8.093 MB / 1.042 GB, free: 2.52 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.003624444827437]