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.0009194/0.0009194, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006839/0.006839, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.409/1.409, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4167/0.4167, allocations: 55.01 MB / 325.7 MB, free: 0.5391 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.0005788/0.0005791, allocations: 12.47 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3642, allocations: 60.72 MB / 458 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.09045/0.4547, allocations: 72.78 MB / 0.5183 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0311/0.4859, allocations: 14.1 MB / 0.5321 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/0.4895, allocations: 51.28 kB / 0.5321 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.4933, allocations: 0.7384 MB / 0.5328 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.5038, allocations: 2.332 MB / 0.5351 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005084/0.5089, allocations: 1.136 MB / 0.5362 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01171/0.5207, allocations: 5.696 MB / 0.5418 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.524, allocations: 1.119 MB / 0.5429 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/0.5291, allocations: 1.396 MB / 0.5443 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/0.5329, allocations: 1.229 MB / 0.5455 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.5335, allocations: 56 kB / 0.5455 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.5382, allocations: 1.084 MB / 0.5466 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.539, allocations: 298.5 kB / 0.5469 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.5416, allocations: 0.8412 MB / 0.5477 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006687/0.5483, allocations: 2.691 MB / 0.5503 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5483, allocations: 0 / 0.5503 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5483, allocations: 0 / 0.5503 GB, free: 13.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.211e-05/0.5484, allocations: 0 / 0.5503 GB, free: 13.82 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.00578/0.5542, allocations: 1.801 MB / 0.5521 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.5543, allocations: 12.03 kB / 0.5521 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.5561, allocations: 254.8 kB / 0.5523 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/0.5599, allocations: 1.477 MB / 0.5538 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.5601, allocations: 78.11 kB / 0.5538 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.5604, allocations: 112 kB / 0.5539 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/0.5648, allocations: 1.409 MB / 0.5553 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/0.5649, allocations: 3.938 kB / 0.5553 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.5651, allocations: 44 kB / 0.5554 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.791e-05/0.5652, allocations: 43.92 kB / 0.5554 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/0.5695, allocations: 1.093 MB / 0.5565 GB, free: 7.25 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.01109/0.5806, allocations: 6.586 MB / 0.5629 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.5836, allocations: 0.6706 MB / 0.5636 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.5849, allocations: 358.4 kB / 0.5639 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/0.5854, allocations: 337 kB / 0.5642 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.5855, allocations: 43.12 kB / 0.5643 GB, free: 14.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 7.184e-06/0.5855, allocations: 3.984 kB / 0.5643 GB, free: 14.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.01033/0.5958, allocations: 2.475 MB / 0.5667 GB, free: 12.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.596, allocations: 162.8 kB / 0.5668 GB, free: 12.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.5983, allocations: 1.255 MB / 0.5681 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.5984, allocations: 41.7 kB / 0.5681 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000648/0.5991, allocations: 0.6566 MB / 0.5687 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.5994, allocations: 236.7 kB / 0.569 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.5995, allocations: 73.67 kB / 0.569 GB, free: 9.746 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5997, allocations: 345.9 kB / 0.5694 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009134/0.6006, allocations: 353.8 kB / 0.5697 GB, free: 9.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.6017, allocations: 0.6848 MB / 0.5704 GB, free: 8.227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.6037, allocations: 0.988 MB / 0.5713 GB, free: 7.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6037, allocations: 0 / 0.5713 GB, free: 7.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002512/0.6063, allocations: 1.129 MB / 0.5724 GB, free: 5.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.6065, allocations: 317.8 kB / 0.5727 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6065, allocations: 8 kB / 0.5728 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.6066, allocations: 19.92 kB / 0.5728 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.6075, allocations: 243.7 kB / 0.573 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.6075, allocations: 15.94 kB / 0.573 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.6089, allocations: 143.7 kB / 0.5732 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.609, allocations: 40 kB / 0.5732 GB, free: 5.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.609, allocations: 4 kB / 0.5732 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002002/0.611, allocations: 0.9111 MB / 0.5741 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.611, allocations: 8 kB / 0.5741 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.611, allocations: 12 kB / 0.5741 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/0.6119, allocations: 239.9 kB / 0.5743 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.6119, allocations: 15.94 kB / 0.5743 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.6132, allocations: 131.7 kB / 0.5745 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.6133, allocations: 40.23 kB / 0.5745 GB, free: 3.766 MB / 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.0008902/0.6142, allocations: 437.7 kB / 0.5749 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.6145, allocations: 138.3 kB / 0.5751 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.6167, allocations: 0.9901 MB / 0.576 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6168, allocations: 8 kB / 0.576 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6168, allocations: 4 kB / 0.576 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/0.6187, allocations: 0.8959 MB / 0.5769 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/0.6236, allocations: 2.534 MB / 0.5794 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.6237, allocations: 4 kB / 0.5794 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/0.6244, allocations: 179.9 kB / 0.5796 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.6247, allocations: 81.67 kB / 0.5796 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.6247, allocations: 23.98 kB / 0.5797 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007685/0.6255, allocations: 1.159 MB / 0.5808 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.6255, allocations: 7.938 kB / 0.5808 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/0.6287, allocations: 1.59 MB / 0.5824 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.6293, allocations: 331.1 kB / 0.5827 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.6295, allocations: 24 kB / 0.5827 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/0.6305, allocations: 115.8 kB / 0.5828 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.6306, allocations: 60.19 kB / 0.5829 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.6307, allocations: 35.98 kB / 0.5829 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.6319, allocations: 0.8827 MB / 0.5838 GB, free: 9.918 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.632, allocations: 4 kB / 0.5838 GB, free: 9.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00173/0.6337, allocations: 0.6366 MB / 0.5844 GB, free: 9.277 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.0007023/0.6344, allocations: 364 kB / 0.5847 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.6373, allocations: 1.356 MB / 0.5861 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6373, allocations: 0 / 0.5861 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6384, allocations: 450.8 kB / 0.5865 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004755/0.6432, allocations: 0.8464 MB / 0.5873 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.6474, allocations: 3.036 MB / 0.5903 GB, free: 3.188 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.6481, allocations: 1.192 MB / 0.5914 GB, free: 1.969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001554/0.6497, allocations: 327.8 kB / 0.5918 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.6501, allocations: 123.4 kB / 0.5919 GB, free: 1.527 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6501, allocations: 0 / 0.5919 GB, free: 1.527 MB / 462.1 MB Notification: Performance of Templates: time 0.05069/0.7008, allocations: 30.52 MB / 0.6217 GB, free: 3.27 MB / 494.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: