Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.001412/0.001412, allocations: 109.2 kB / 20.45 MB, free: 1.516 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.001644/0.001644, allocations: 219.9 kB / 23.76 MB, free: 4.742 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.9426/0.9426, allocations: 150 MB / 463.9 MB, free: 10.55 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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") [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.002099/0.002099, allocations: 73.38 kB / 0.6425 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1948, allocations: 89.17 MB / 0.7296 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.5022/0.697, allocations: 76.84 MB / 0.8046 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.027/0.724, allocations: 15.28 MB / 0.8195 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/0.7281, allocations: 90.47 kB / 0.8196 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.7315, allocations: 0.8675 MB / 0.8205 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.7418, allocations: 2.778 MB / 0.8232 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.7467, allocations: 1.459 MB / 0.8246 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008688/0.7554, allocations: 4.501 MB / 0.829 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.7584, allocations: 1.135 MB / 0.8301 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006632/0.765, allocations: 1.917 MB / 0.832 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.7685, allocations: 1.259 MB / 0.8332 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000786/0.7693, allocations: 166.2 kB / 0.8334 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005288/0.7746, allocations: 1.483 MB / 0.8348 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.7756, allocations: 408.6 kB / 0.8352 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.7785, allocations: 0.9135 MB / 0.8361 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00772/0.7862, allocations: 2.932 MB / 0.839 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.7862, allocations: 1.406 kB / 0.839 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7862, allocations: 3.938 kB / 0.839 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.227e-05/0.7863, allocations: 0 / 0.839 GB, free: 3.16 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005259/0.7915, allocations: 2.075 MB / 0.841 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.7916, allocations: 8.469 kB / 0.841 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/0.7925, allocations: 235.7 kB / 0.8412 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.796, allocations: 1.482 MB / 0.8427 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/0.796, allocations: 78.06 kB / 0.8427 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.7963, allocations: 100.6 kB / 0.8428 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.7987, allocations: 1.1 MB / 0.8439 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.7988, allocations: 6.391 kB / 0.8439 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.7989, allocations: 43.75 kB / 0.844 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.7989, allocations: 24.81 kB / 0.844 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.8011, allocations: 0.8969 MB / 0.8449 GB, free: 15.13 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008243/0.8093, allocations: 4.841 MB / 0.8496 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.8108, allocations: 0.5832 MB / 0.8502 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/0.8115, allocations: 321.5 kB / 0.8505 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/0.8119, allocations: 84.69 kB / 0.8505 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.8119, allocations: 41.88 kB / 0.8506 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=61): time 2.815e-06/0.8119, allocations: 2.906 kB / 0.8506 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=61): time 0.00733/0.8192, allocations: 1.618 MB / 0.8522 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.8193, allocations: 59.91 kB / 0.8522 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.8217, allocations: 1.234 MB / 0.8534 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.8219, allocations: 49.7 kB / 0.8535 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006937/0.8226, allocations: 0.6113 MB / 0.8541 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.8229, allocations: 230 kB / 0.8543 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.8232, allocations: 150.6 kB / 0.8544 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.8234, allocations: 337.9 kB / 0.8548 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.8241, allocations: 292.6 kB / 0.855 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.8251, allocations: 0.489 MB / 0.8555 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.8266, allocations: 0.721 MB / 0.8562 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.8266, allocations: 0 / 0.8562 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005057/0.8317, allocations: 1.274 MB / 0.8575 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.8317, allocations: 8 kB / 0.8575 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.8317, allocations: 4 kB / 0.8575 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006511/0.8324, allocations: 137.1 kB / 0.8576 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.833, allocations: 159.7 kB / 0.8578 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009869/0.834, allocations: 0.7057 MB / 0.8585 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8354, allocations: 131.3 kB / 0.8586 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.8355, allocations: 29.11 kB / 0.8586 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/0.8368, allocations: 0.5527 MB / 0.8591 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009151/0.8377, allocations: 499.4 kB / 0.8596 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001504/0.8392, allocations: 0.7054 MB / 0.8603 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.158e-05/0.8392, allocations: 4 kB / 0.8603 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004938/0.8442, allocations: 1.262 MB / 0.8615 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.8442, allocations: 8 kB / 0.8616 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.8442, allocations: 4 kB / 0.8616 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.8447, allocations: 148.9 kB / 0.8617 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.8453, allocations: 155.8 kB / 0.8618 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/0.8462, allocations: 0.7004 MB / 0.8625 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.8477, allocations: 107.6 kB / 0.8626 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.8478, allocations: 39.91 kB / 0.8627 GB, free: 14.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.8481, allocations: 228.1 kB / 0.8629 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/0.8487, allocations: 140 kB / 0.863 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/0.8534, allocations: 1.277 MB / 0.8643 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.8534, allocations: 7.984 kB / 0.8643 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.8534, allocations: 4 kB / 0.8643 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004052/0.8575, allocations: 1.102 MB / 0.8654 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00776/0.8653, allocations: 2.596 MB / 0.8679 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.8653, allocations: 4.438 kB / 0.8679 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.8658, allocations: 119.8 kB / 0.868 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/0.8663, allocations: 128.8 kB / 0.8681 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.8663, allocations: 19.98 kB / 0.8682 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005232/0.8716, allocations: 2.523 MB / 0.8706 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.8716, allocations: 7.938 kB / 0.8706 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/0.8772, allocations: 1.718 MB / 0.8723 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009608/0.8782, allocations: 234.9 kB / 0.8725 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.8786, allocations: 19.94 kB / 0.8725 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.8797, allocations: 60 kB / 0.8726 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.8799, allocations: 64.2 kB / 0.8727 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.88, allocations: 27.98 kB / 0.8727 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001739/0.8817, allocations: 0.8898 MB / 0.8736 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8817, allocations: 0 / 0.8736 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002891/0.8846, allocations: 0.729 MB / 0.8743 GB, free: 2.062 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/0.8856, allocations: 437.6 kB / 0.8747 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002884/0.8885, allocations: 1.067 MB / 0.8757 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.8885, allocations: 0 / 0.8757 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.8901, allocations: 0.5369 MB / 0.8763 GB, free: 12 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/0.894, allocations: 0.81 MB / 0.877 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.8989, allocations: 2.363 MB / 0.8794 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.9, allocations: 1.172 MB / 0.8805 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.9003, allocations: 111.4 kB / 0.8806 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of SimCode: time 9.91e-07/0.9003, allocations: 0 / 0.8806 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.05065/0.951, allocations: 31.43 MB / 0.9113 GB, free: 12.21 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.318552465876564] Failed to read output from testmodel.py, exit status != 0: 0.9623931210953742 0.978627415 0.188638108 Calling exit ...