Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 197 kB / 16.64 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.469/0.469, allocations: 54.95 MB / 324.8 MB, free: 68 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 68.28 kB / 396.2 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4399, allocations: 59.57 MB / 455.8 MB, free: 40.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05294/0.4929, allocations: 60.5 MB / 0.5042 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02046/0.5135, allocations: 11.23 MB / 0.5151 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/0.517, allocations: 51.88 kB / 0.5152 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.5204, allocations: 0.739 MB / 0.5159 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00942/0.5299, allocations: 1.922 MB / 0.5178 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.5345, allocations: 1.024 MB / 0.5188 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009513/0.544, allocations: 3.039 MB / 0.5218 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.5471, allocations: 1.109 MB / 0.5228 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005438/0.5526, allocations: 1.429 MB / 0.5242 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.5558, allocations: 0.981 MB / 0.5252 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006445/0.5564, allocations: 121.6 kB / 0.5253 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004702/0.5612, allocations: 1.197 MB / 0.5265 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009917/0.5622, allocations: 305.5 kB / 0.5268 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002922/0.5651, allocations: 0.735 MB / 0.5275 GB, free: 352 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007341/0.5725, allocations: 2.238 MB / 0.5297 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.5725, allocations: 0 / 0.5297 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5725, allocations: 0 / 0.5297 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001142/0.5726, allocations: 1.75 kB / 0.5297 GB, free: 14.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.006666/0.5793, allocations: 1.744 MB / 0.5314 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.5794, allocations: 9.719 kB / 0.5314 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/0.5828, allocations: 0.4985 MB / 0.5319 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/0.5866, allocations: 1.153 MB / 0.533 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.5868, allocations: 68.5 kB / 0.5331 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.5871, allocations: 91.11 kB / 0.5332 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003777/0.5909, allocations: 1.243 MB / 0.5344 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.5909, allocations: 5.438 kB / 0.5344 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.5911, allocations: 38.31 kB / 0.5344 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/0.5911, allocations: 29.52 kB / 0.5344 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.5947, allocations: 1.053 MB / 0.5355 GB, free: 10.82 MB / 414.1 MB 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.01017/0.6049, allocations: 6.09 MB / 0.5414 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.608, allocations: 0.871 MB / 0.5423 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009346/0.609, allocations: 349.5 kB / 0.5426 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004115/0.6094, allocations: 421.5 kB / 0.543 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.6095, allocations: 42.56 kB / 0.543 GB, free: 2.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/0.6095, allocations: 0 / 0.543 GB, free: 2.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.009876/0.6194, allocations: 2.102 MB / 0.5451 GB, free: 412 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.6195, allocations: 158.2 kB / 0.5452 GB, free: 216 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.6216, allocations: 1.04 MB / 0.5463 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.6218, allocations: 37.7 kB / 0.5463 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/0.6223, allocations: 0.5772 MB / 0.5469 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.6225, allocations: 153.8 kB / 0.547 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.6228, allocations: 150.1 kB / 0.5471 GB, free: 14.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.623, allocations: 337.9 kB / 0.5475 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.6241, allocations: 371.2 kB / 0.5478 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.6262, allocations: 0.6386 MB / 0.5484 GB, free: 12.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.6299, allocations: 0.8759 MB / 0.5493 GB, free: 11.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.6299, allocations: 0 / 0.5493 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.008462/0.6384, allocations: 1.437 MB / 0.5507 GB, free: 10.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.6385, allocations: 8.656 kB / 0.5507 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/0.6386, allocations: 12 kB / 0.5507 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.6401, allocations: 249.1 kB / 0.551 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.6416, allocations: 183.6 kB / 0.5511 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.6437, allocations: 0.8332 MB / 0.552 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.646, allocations: 162 kB / 0.5521 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.6462, allocations: 35.92 kB / 0.5521 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002478/0.6487, allocations: 0.548 MB / 0.5527 GB, free: 8.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001952/0.6507, allocations: 0.6163 MB / 0.5533 GB, free: 7.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00311/0.6538, allocations: 0.8293 MB / 0.5541 GB, free: 6.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.957e-06/0.6538, allocations: 4 kB / 0.5541 GB, free: 6.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.007787/0.6616, allocations: 1.38 MB / 0.5554 GB, free: 5.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.6618, allocations: 16.06 kB / 0.5555 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.6618, allocations: 4 kB / 0.5555 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.6632, allocations: 257.2 kB / 0.5557 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.6644, allocations: 163.7 kB / 0.5559 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.6664, allocations: 0.8371 MB / 0.5567 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.6687, allocations: 119.8 kB / 0.5568 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.6689, allocations: 31.98 kB / 0.5568 GB, free: 3.824 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (71): * Single equations (assignments): 70 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004984/0.6695, allocations: 224 kB / 0.557 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.6701, allocations: 114.6 kB / 0.5571 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006537/0.6767, allocations: 1.141 MB / 0.5583 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.6767, allocations: 4 kB / 0.5583 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.6767, allocations: 3.938 kB / 0.5583 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.6768, allocations: 7.984 kB / 0.5583 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.6873, allocations: 2.278 MB / 0.5605 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.6874, allocations: 4.031 kB / 0.5605 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/0.6884, allocations: 103.8 kB / 0.5606 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.6897, allocations: 248.6 kB / 0.5608 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.6898, allocations: 11.98 kB / 0.5609 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.6924, allocations: 0.8927 MB / 0.5617 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.6925, allocations: 4.031 kB / 0.5617 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/0.698, allocations: 1.205 MB / 0.5629 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.6993, allocations: 263.6 kB / 0.5632 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006443/0.7, allocations: 19.44 kB / 0.5632 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/0.7021, allocations: 87.89 kB / 0.5633 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.7023, allocations: 35.83 kB / 0.5633 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.7025, allocations: 23.92 kB / 0.5633 GB, free: 12.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002376/0.7049, allocations: 0.724 MB / 0.564 GB, free: 12.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7049, allocations: 0 / 0.564 GB, free: 12.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003538/0.7084, allocations: 0.5613 MB / 0.5646 GB, free: 11.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 30 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.7095, allocations: 282.1 kB / 0.5648 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006745/0.7163, allocations: 1.324 MB / 0.5661 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/0.7164, allocations: 0 / 0.5661 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/0.7191, allocations: 452.9 kB / 0.5666 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/0.7238, allocations: 0.5238 MB / 0.5671 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/0.7304, allocations: 1.867 MB / 0.5689 GB, free: 7.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.7315, allocations: 1.061 MB / 0.5699 GB, free: 6.172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001896/0.7335, allocations: 243.5 kB / 0.5702 GB, free: 5.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.7339, allocations: 83.41 kB / 0.5702 GB, free: 5.855 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7339, allocations: 0 / 0.5702 GB, free: 5.855 MB / 446.1 MB Notification: Performance of Templates: time 0.0528/0.7868, allocations: 23.59 MB / 0.5933 GB, free: 14.47 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)