Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, allocations: 251.3 MB / 266.2 MB, free: 11.48 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 178.6 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.491/2.491, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009428/0.0009426, allocations: 89.81 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006237/0.0006239, allocations: 11.91 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2298, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.1093/0.3392, allocations: 56.55 MB / 0.9543 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.3607, allocations: 11.1 MB / 0.9651 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.3631, allocations: 47.69 kB / 0.9651 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.3657, allocations: 460.8 kB / 0.9656 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006738/0.3725, allocations: 1.519 MB / 0.9671 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.3768, allocations: 0.8773 MB / 0.9679 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006699/0.3835, allocations: 3.434 MB / 0.9713 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.3859, allocations: 0.8575 MB / 0.9721 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.3895, allocations: 1.038 MB / 0.9731 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.3918, allocations: 0.8088 MB / 0.9739 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.3922, allocations: 48 kB / 0.974 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/0.3961, allocations: 1.091 MB / 0.975 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005093/0.3967, allocations: 203 kB / 0.9752 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.3974, allocations: 285 kB / 0.9755 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.4012, allocations: 1.629 MB / 0.9771 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4012, allocations: 0 / 0.9771 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4012, allocations: 4 kB / 0.9771 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.318e-05/0.4013, allocations: 0 / 0.9771 GB, free: 1.254 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004888/0.4062, allocations: 1.509 MB / 0.9786 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.4063, allocations: 12.03 kB / 0.9786 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/0.4111, allocations: 0.5066 MB / 0.9791 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.4156, allocations: 1.106 MB / 0.9801 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009012/0.4166, allocations: 129.9 kB / 0.9803 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.417, allocations: 84 kB / 0.9804 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.4223, allocations: 1.025 MB / 0.9814 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.4224, allocations: 0 / 0.9814 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.4226, allocations: 32 kB / 0.9814 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.4227, allocations: 27.98 kB / 0.9814 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006914/0.4296, allocations: 1.003 MB / 0.9824 GB, free: 11.68 MB / 0.6355 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.01433/0.444, allocations: 4.719 MB / 0.987 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.4543, allocations: 1.122 MB / 0.9881 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.4572, allocations: 449.9 kB / 0.9885 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001944/0.4592, allocations: 1.029 MB / 0.9895 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.4593, allocations: 39 kB / 0.9896 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 4.699e-06/0.4593, allocations: 0 / 0.9896 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.02449/0.4838, allocations: 2.49 MB / 0.992 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.484, allocations: 59.84 kB / 0.9921 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.4868, allocations: 0.9314 MB / 0.993 GB, free: 200 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.4871, allocations: 41.7 kB / 0.993 GB, free: 152 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008483/0.4879, allocations: 0.4925 MB / 0.9935 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/0.4883, allocations: 193.1 kB / 0.9937 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.4884, allocations: 12 kB / 0.9937 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4886, allocations: 330 kB / 0.994 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/0.4913, allocations: 368.9 kB / 0.9943 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.4944, allocations: 0.5467 MB / 0.9949 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.4973, allocations: 389.9 kB / 0.9953 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.4974, allocations: 4 kB / 0.9953 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.008319/0.5057, allocations: 1.295 MB / 0.9965 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.5059, allocations: 160.2 kB / 0.9967 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.506, allocations: 0 / 0.9967 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.5083, allocations: 344.4 kB / 0.997 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.5096, allocations: 135.8 kB / 0.9971 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.5124, allocations: 0.9347 MB / 0.998 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.5147, allocations: 179.3 kB / 0.9982 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.5149, allocations: 27.98 kB / 0.9982 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5149, allocations: 6.031 kB / 0.9982 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006969/0.5219, allocations: 1.161 MB / 0.9994 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.522, allocations: 0 / 0.9994 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.524, allocations: 323 kB / 0.9997 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.5253, allocations: 147.7 kB / 0.9998 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.528, allocations: 0.9308 MB / 1.001 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.5303, allocations: 171.4 kB / 1.001 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.5306, allocations: 35.92 kB / 1.001 GB, free: 7.84 MB / 0.6511 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008568/0.5315, allocations: 341 kB / 1.001 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.5319, allocations: 110.7 kB / 1.001 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008808/0.5407, allocations: 1.439 MB / 1.003 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-05/0.5408, allocations: 12 kB / 1.003 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5408, allocations: 3.938 kB / 1.003 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.5408, allocations: 3.984 kB / 1.003 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.5522, allocations: 2.51 MB / 1.005 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.5523, allocations: 0 / 1.005 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.5534, allocations: 120 kB / 1.005 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.5555, allocations: 324.6 kB / 1.006 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.5556, allocations: 15.98 kB / 1.006 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.5583, allocations: 0.9698 MB / 1.007 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.5584, allocations: 3.938 kB / 1.007 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/0.5669, allocations: 1.456 MB / 1.008 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009312/0.5679, allocations: 283.5 kB / 1.008 GB, free: 88 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.5682, allocations: 20 kB / 1.008 GB, free: 68 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.5704, allocations: 131.8 kB / 1.008 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.5706, allocations: 36.33 kB / 1.009 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.5708, allocations: 27.97 kB / 1.009 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001584/0.5724, allocations: 0.6519 MB / 1.009 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5724, allocations: 4 kB / 1.009 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002436/0.5748, allocations: 0.5535 MB / 1.01 GB, free: 14.65 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.576, allocations: 363.4 kB / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007333/0.5834, allocations: 1.374 MB / 1.011 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.5835, allocations: 4 kB / 1.011 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.5859, allocations: 492.8 kB / 1.012 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/0.5909, allocations: 0.504 MB / 1.012 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.5984, allocations: 2.336 MB / 1.015 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.5994, allocations: 1.066 MB / 1.016 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001843/0.6013, allocations: 233.9 kB / 1.016 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.6018, allocations: 75.42 kB / 1.016 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of SimCode: time 1.422e-06/0.6018, allocations: 0 / 1.016 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of Templates: time 0.0661/0.6679, allocations: 23.08 MB / 1.039 GB, free: 1.293 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)