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.001757/0.001757, allocations: 108 kB / 15.6 MB, free: 132 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.002396/0.002395, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.442/1.442, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4007/0.4007, allocations: 54.94 MB / 324.7 MB, free: 24 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.001883/0.001883, allocations: 75.89 kB / 395.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1369, allocations: 59.6 MB / 454.9 MB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.2874/0.4244, allocations: 74.48 MB / 0.517 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.4458, allocations: 14.2 MB / 0.5309 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003581/0.4495, allocations: 63.81 kB / 0.5309 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.4527, allocations: 0.8849 MB / 0.5318 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008792/0.4616, allocations: 2.536 MB / 0.5343 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.4655, allocations: 1.235 MB / 0.5355 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006626/0.4722, allocations: 4.35 MB / 0.5397 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.4745, allocations: 1.419 MB / 0.5411 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.4793, allocations: 1.681 MB / 0.5427 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.4827, allocations: 1.29 MB / 0.544 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004474/0.4832, allocations: 164 kB / 0.5442 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.487, allocations: 1.24 MB / 0.5454 GB, free: 232 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.4876, allocations: 410.5 kB / 0.5458 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.4893, allocations: 0.945 MB / 0.5467 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.495, allocations: 2.812 MB / 0.5494 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4951, allocations: 4 kB / 0.5494 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4951, allocations: 0 / 0.5494 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.4951, allocations: 0 / 0.5494 GB, free: 12.05 MB / 430.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.004143/0.4993, allocations: 2.107 MB / 0.5515 GB, free: 9.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4993, allocations: 12.03 kB / 0.5515 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.5004, allocations: 246.7 kB / 0.5517 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.5028, allocations: 1.415 MB / 0.5531 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.5028, allocations: 82.11 kB / 0.5532 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.503, allocations: 104.8 kB / 0.5533 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.5057, allocations: 1.374 MB / 0.5546 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.5058, allocations: 11.84 kB / 0.5547 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.5059, allocations: 48 kB / 0.5547 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.506, allocations: 39.92 kB / 0.5547 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.5085, allocations: 1.03 MB / 0.5557 GB, free: 5.34 MB / 430.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.007474/0.516, allocations: 6.609 MB / 0.5622 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.5178, allocations: 0.6277 MB / 0.5628 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.5186, allocations: 343.3 kB / 0.5631 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.5189, allocations: 337 kB / 0.5635 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.519, allocations: 39.12 kB / 0.5635 GB, free: 12.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.515e-06/0.519, allocations: 0 / 0.5635 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006812/0.5258, allocations: 2.315 MB / 0.5658 GB, free: 10.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.526, allocations: 158.8 kB / 0.5659 GB, free: 10.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.5281, allocations: 1.275 MB / 0.5672 GB, free: 9.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.5282, allocations: 41.7 kB / 0.5672 GB, free: 9.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.5288, allocations: 0.6683 MB / 0.5679 GB, free: 8.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.529, allocations: 232.6 kB / 0.5681 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.5293, allocations: 186.5 kB / 0.5682 GB, free: 7.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5295, allocations: 334 kB / 0.5686 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/0.5303, allocations: 332.6 kB / 0.5689 GB, free: 7.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.5314, allocations: 0.6652 MB / 0.5695 GB, free: 6.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.5332, allocations: 0.9203 MB / 0.5704 GB, free: 5.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5332, allocations: 4 kB / 0.5704 GB, free: 5.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002363/0.5356, allocations: 1.075 MB / 0.5715 GB, free: 4.328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5356, allocations: 8 kB / 0.5715 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5356, allocations: 8 kB / 0.5715 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5356, allocations: 15.94 kB / 0.5715 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009088/0.5366, allocations: 232.2 kB / 0.5717 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.5366, allocations: 15.94 kB / 0.5718 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5377, allocations: 91.44 kB / 0.5718 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.5378, allocations: 39.98 kB / 0.5719 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/0.539, allocations: 0.5847 MB / 0.5725 GB, free: 3.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009418/0.5399, allocations: 0.6384 MB / 0.5731 GB, free: 2.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001498/0.5414, allocations: 0.8828 MB / 0.5739 GB, free: 1.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/0.5414, allocations: 0 / 0.5739 GB, free: 1.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002114/0.5436, allocations: 1.021 MB / 0.5749 GB, free: 0.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5436, allocations: 8 kB / 0.5749 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5436, allocations: 8 kB / 0.5749 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5436, allocations: 12 kB / 0.575 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.5445, allocations: 219.6 kB / 0.5752 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.5445, allocations: 24.48 kB / 0.5752 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.5457, allocations: 92.33 kB / 0.5753 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.5457, allocations: 36 kB / 0.5753 GB, free: 156 kB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002833/0.546, allocations: 236 kB / 0.5755 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/0.5464, allocations: 146.3 kB / 0.5757 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.5488, allocations: 0.9279 MB / 0.5766 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.5488, allocations: 12 kB / 0.5766 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5488, allocations: 0 / 0.5766 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001837/0.5507, allocations: 0.8334 MB / 0.5774 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004564/0.5553, allocations: 2.494 MB / 0.5798 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.5553, allocations: 4 kB / 0.5799 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.556, allocations: 164.3 kB / 0.58 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.5562, allocations: 78.86 kB / 0.5801 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.5563, allocations: 20 kB / 0.5801 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.557, allocations: 1.164 MB / 0.5812 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.557, allocations: 7.938 kB / 0.5812 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.56, allocations: 1.5 MB / 0.5827 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.5606, allocations: 307.3 kB / 0.583 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.5609, allocations: 28.61 kB / 0.583 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009788/0.5618, allocations: 63.98 kB / 0.5831 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.562, allocations: 60.25 kB / 0.5832 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.693e-05/0.5621, allocations: 35.98 kB / 0.5832 GB, free: 7.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001482/0.5636, allocations: 0.8944 MB / 0.5841 GB, free: 6.836 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5636, allocations: 4 kB / 0.5841 GB, free: 6.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00241/0.566, allocations: 0.6366 MB / 0.5847 GB, free: 6.195 MB / 462.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008967/0.5669, allocations: 386.2 kB / 0.5851 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.5702, allocations: 1.322 MB / 0.5863 GB, free: 4.504 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.5702, allocations: 0 / 0.5863 GB, free: 4.504 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.5713, allocations: 426.8 kB / 0.5868 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/0.5757, allocations: 0.8806 MB / 0.5876 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.5805, allocations: 2.477 MB / 0.59 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.5816, allocations: 1.195 MB / 0.5912 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001827/0.5834, allocations: 326.5 kB / 0.5915 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.5839, allocations: 119.4 kB / 0.5916 GB, free: 15.07 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5839, allocations: 0 / 0.5916 GB, free: 15.07 MB / 478.1 MB Notification: Performance of Templates: time 0.05702/0.6409, allocations: 31.19 MB / 0.6221 GB, free: 124 kB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.makefile (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)