Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3781/0.3781, allocations: 54.97 MB / 325.3 MB, free: 0.8438 MB / 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.000535/0.0005354, allocations: 12 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3646, allocations: 60.72 MB / 457.3 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.05291/0.4176, allocations: 62.37 MB / 0.5075 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01936/0.437, allocations: 12.19 MB / 0.5194 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.4401, allocations: 49.16 kB / 0.5194 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004221/0.4444, allocations: 0.7249 MB / 0.5202 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009979/0.4544, allocations: 2.261 MB / 0.5224 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.4588, allocations: 1.005 MB / 0.5233 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006619/0.4654, allocations: 2.55 MB / 0.5258 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.4676, allocations: 1.018 MB / 0.5268 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.4711, allocations: 1.209 MB / 0.528 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.4734, allocations: 0.8242 MB / 0.5288 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.4737, allocations: 56.69 kB / 0.5289 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.4763, allocations: 0.6735 MB / 0.5295 GB, free: 404 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.4766, allocations: 271.4 kB / 0.5298 GB, free: 260 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006581/0.4773, allocations: 372.4 kB / 0.5301 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.4799, allocations: 2.028 MB / 0.5321 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4799, allocations: 0 / 0.5321 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4799, allocations: 0 / 0.5321 GB, free: 14.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.995e-05/0.4799, allocations: 0 / 0.5321 GB, free: 14.62 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003658/0.4836, allocations: 1.801 MB / 0.5339 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4837, allocations: 9.125 kB / 0.5339 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.4847, allocations: 255.6 kB / 0.5341 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.4877, allocations: 1.345 MB / 0.5354 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.4878, allocations: 88.11 kB / 0.5355 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.488, allocations: 109.5 kB / 0.5356 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.4908, allocations: 1.397 MB / 0.537 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.4909, allocations: 15.83 kB / 0.537 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.491, allocations: 51.94 kB / 0.5371 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.491, allocations: 32 kB / 0.5371 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.4935, allocations: 1.089 MB / 0.5382 GB, free: 9.477 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.007267/0.5008, allocations: 6.622 MB / 0.5446 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.5026, allocations: 0.6667 MB / 0.5453 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.503, allocations: 345 kB / 0.5456 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.503, allocations: 47.08 kB / 0.5456 GB, free: 1.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.354e-06/0.503, allocations: 0 / 0.5456 GB, free: 1.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.006526/0.5096, allocations: 2.46 MB / 0.548 GB, free: 14.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.5097, allocations: 162.8 kB / 0.5482 GB, free: 14.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.5113, allocations: 1.294 MB / 0.5495 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.5114, allocations: 37.7 kB / 0.5495 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.512, allocations: 0.6645 MB / 0.5502 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.5122, allocations: 244.6 kB / 0.5504 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.5123, allocations: 16 kB / 0.5504 GB, free: 12.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5125, allocations: 338 kB / 0.5507 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.5133, allocations: 349.8 kB / 0.5511 GB, free: 11.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5144, allocations: 0.6886 MB / 0.5517 GB, free: 10.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.5153, allocations: 436 kB / 0.5521 GB, free: 10.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.5153, allocations: 7.953 kB / 0.5522 GB, free: 10.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002203/0.5175, allocations: 1.118 MB / 0.5532 GB, free: 9.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001259/0.5188, allocations: 3.025 MB / 0.5562 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5188, allocations: 8 kB / 0.5562 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.5188, allocations: 12 kB / 0.5562 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/0.5198, allocations: 247.6 kB / 0.5565 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.5198, allocations: 14.34 kB / 0.5565 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5212, allocations: 147.7 kB / 0.5566 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.5213, allocations: 40 kB / 0.5566 GB, free: 5.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.5213, allocations: 4 kB / 0.5567 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/0.5231, allocations: 0.9038 MB / 0.5575 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.5231, allocations: 9.312 kB / 0.5575 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5232, allocations: 12 kB / 0.5576 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/0.524, allocations: 236.3 kB / 0.5578 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.524, allocations: 19.92 kB / 0.5578 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5251, allocations: 131.7 kB / 0.5579 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.5252, allocations: 39.98 kB / 0.558 GB, free: 4.238 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008205/0.526, allocations: 436.8 kB / 0.5584 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.5263, allocations: 138.3 kB / 0.5585 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.5285, allocations: 0.9977 MB / 0.5595 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.5286, allocations: 11.98 kB / 0.5595 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5286, allocations: 0 / 0.5595 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/0.5303, allocations: 0.8842 MB / 0.5604 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/0.5348, allocations: 2.55 MB / 0.5629 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5348, allocations: 4 kB / 0.5629 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.5355, allocations: 172 kB / 0.563 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.5358, allocations: 90.97 kB / 0.5631 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.5359, allocations: 24 kB / 0.5631 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007702/0.5366, allocations: 1.159 MB / 0.5643 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.5367, allocations: 4.562 kB / 0.5643 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.5398, allocations: 1.886 MB / 0.5661 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/0.5405, allocations: 343.1 kB / 0.5664 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.5407, allocations: 23.98 kB / 0.5665 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.5417, allocations: 112.6 kB / 0.5666 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5418, allocations: 60.25 kB / 0.5666 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.5419, allocations: 31.98 kB / 0.5667 GB, free: 10.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.5432, allocations: 0.9217 MB / 0.5676 GB, free: 9.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5432, allocations: 0 / 0.5676 GB, free: 9.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001916/0.5451, allocations: 0.6444 MB / 0.5682 GB, free: 9.191 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007111/0.5458, allocations: 369.2 kB / 0.5685 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002901/0.5487, allocations: 1.348 MB / 0.5698 GB, free: 7.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5487, allocations: 0 / 0.5698 GB, free: 7.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5498, allocations: 454.8 kB / 0.5703 GB, free: 7.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/0.5536, allocations: 0.8175 MB / 0.5711 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/0.5586, allocations: 2.919 MB / 0.5739 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.5597, allocations: 1.226 MB / 0.5751 GB, free: 2.004 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001672/0.5614, allocations: 331.5 kB / 0.5754 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.5617, allocations: 115.4 kB / 0.5756 GB, free: 1.57 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5618, allocations: 0 / 0.5756 GB, free: 1.57 MB / 446.1 MB Notification: Performance of Templates: time 0.05364/0.6154, allocations: 29.16 MB / 0.604 GB, free: 4.664 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: