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.00113/0.00113, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001431/0.001431, allocations: 190.2 kB / 16.25 MB, free: 6.617 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.364/1.364, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3688/0.3688, allocations: 54.92 MB / 324.4 MB, free: 140 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.001392/0.001392, allocations: 67.91 kB / 394.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1327, allocations: 59.6 MB / 454.5 MB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.2713/0.404, allocations: 73.85 MB / 0.5159 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02118/0.4252, allocations: 14.09 MB / 0.5297 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/0.4296, allocations: 55.5 kB / 0.5297 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.4339, allocations: 0.7767 MB / 0.5305 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.4441, allocations: 2.358 MB / 0.5328 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.448, allocations: 1.159 MB / 0.5339 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007412/0.4555, allocations: 4.373 MB / 0.5382 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.4579, allocations: 1.404 MB / 0.5396 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.4629, allocations: 1.721 MB / 0.5413 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.4663, allocations: 1.332 MB / 0.5426 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008259/0.4671, allocations: 168 kB / 0.5427 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/0.4719, allocations: 1.248 MB / 0.5439 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007564/0.4726, allocations: 410.5 kB / 0.5443 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00226/0.4749, allocations: 0.9489 MB / 0.5452 GB, free: 212 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004394/0.4793, allocations: 2.828 MB / 0.548 GB, free: 13.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4793, allocations: 4 kB / 0.548 GB, free: 13.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4793, allocations: 0 / 0.548 GB, free: 13.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.4794, allocations: 0 / 0.548 GB, free: 13.37 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.003792/0.4832, allocations: 2.104 MB / 0.5501 GB, free: 11.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4832, allocations: 8.031 kB / 0.5501 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.4843, allocations: 250.6 kB / 0.5503 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.4866, allocations: 1.461 MB / 0.5517 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.168e-05/0.4867, allocations: 78.92 kB / 0.5518 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.4869, allocations: 112 kB / 0.5519 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.4897, allocations: 1.366 MB / 0.5533 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.4897, allocations: 7.938 kB / 0.5533 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4899, allocations: 44 kB / 0.5533 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.4899, allocations: 43.98 kB / 0.5533 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.4923, allocations: 1.034 MB / 0.5544 GB, free: 6.617 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.007235/0.4995, allocations: 6.565 MB / 0.5608 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.5013, allocations: 0.6238 MB / 0.5614 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/0.502, allocations: 330.4 kB / 0.5617 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.5024, allocations: 348.9 kB / 0.562 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.5024, allocations: 39.12 kB / 0.5621 GB, free: 14.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.615e-06/0.5024, allocations: 4 kB / 0.5621 GB, free: 14.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006783/0.5092, allocations: 2.304 MB / 0.5643 GB, free: 11.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.5093, allocations: 170.7 kB / 0.5645 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.5111, allocations: 1.255 MB / 0.5657 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.013e-05/0.5112, allocations: 41.7 kB / 0.5657 GB, free: 10.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.5117, allocations: 0.6566 MB / 0.5664 GB, free: 9.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.5119, allocations: 244.6 kB / 0.5666 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.5121, allocations: 182.5 kB / 0.5668 GB, free: 9.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5123, allocations: 337.9 kB / 0.5671 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/0.5131, allocations: 341.1 kB / 0.5674 GB, free: 8.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.5141, allocations: 0.6653 MB / 0.5681 GB, free: 7.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.5158, allocations: 0.9195 MB / 0.569 GB, free: 6.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.5158, allocations: 4 kB / 0.569 GB, free: 6.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002335/0.5182, allocations: 1.077 MB / 0.57 GB, free: 5.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5182, allocations: 16.16 kB / 0.5701 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5182, allocations: 4 kB / 0.5701 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.5182, allocations: 15.94 kB / 0.5701 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009139/0.5192, allocations: 227.7 kB / 0.5703 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.5192, allocations: 20.47 kB / 0.5703 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.5205, allocations: 123.7 kB / 0.5704 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.5206, allocations: 43.98 kB / 0.5705 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.5217, allocations: 0.577 MB / 0.571 GB, free: 4.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009413/0.5227, allocations: 0.634 MB / 0.5717 GB, free: 3.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001523/0.5242, allocations: 0.8863 MB / 0.5725 GB, free: 2.879 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.5242, allocations: 4 kB / 0.5725 GB, free: 2.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002193/0.5264, allocations: 1.026 MB / 0.5735 GB, free: 1.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5265, allocations: 8 kB / 0.5735 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5265, allocations: 12.03 kB / 0.5735 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5265, allocations: 12 kB / 0.5736 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.5273, allocations: 219.6 kB / 0.5738 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.5273, allocations: 15.94 kB / 0.5738 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.5287, allocations: 139.9 kB / 0.5739 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.5288, allocations: 36 kB / 0.574 GB, free: 1.406 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.0003625/0.5292, allocations: 232 kB / 0.5742 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.5295, allocations: 142.3 kB / 0.5743 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.5318, allocations: 0.9276 MB / 0.5752 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5318, allocations: 8 kB / 0.5752 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5318, allocations: 0 / 0.5752 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.5335, allocations: 0.8412 MB / 0.576 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.538, allocations: 2.483 MB / 0.5785 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.538, allocations: 4 kB / 0.5785 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.5388, allocations: 155.8 kB / 0.5786 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/0.539, allocations: 82.69 kB / 0.5787 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.539, allocations: 23.98 kB / 0.5787 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007823/0.5398, allocations: 1.153 MB / 0.5798 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.5399, allocations: 7.938 kB / 0.5799 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.5429, allocations: 1.501 MB / 0.5813 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/0.5436, allocations: 315.1 kB / 0.5816 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.5438, allocations: 19.94 kB / 0.5816 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009973/0.5448, allocations: 104.7 kB / 0.5817 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.5449, allocations: 60.25 kB / 0.5818 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.545, allocations: 43.91 kB / 0.5818 GB, free: 8.961 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.5462, allocations: 0.8827 MB / 0.5827 GB, free: 8.078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5462, allocations: 0 / 0.5827 GB, free: 8.078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001879/0.5481, allocations: 0.6249 MB / 0.5833 GB, free: 7.453 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.0007931/0.5489, allocations: 369.2 kB / 0.5837 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.5519, allocations: 1.323 MB / 0.585 GB, free: 5.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.552, allocations: 4 kB / 0.585 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.553, allocations: 430.3 kB / 0.5854 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/0.5572, allocations: 0.8743 MB / 0.5862 GB, free: 4.578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.5617, allocations: 2.949 MB / 0.5891 GB, free: 1.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/0.5624, allocations: 1.195 MB / 0.5903 GB, free: 316 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001654/0.5641, allocations: 329.5 kB / 0.5906 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.5644, allocations: 119.4 kB / 0.5907 GB, free: 15.87 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5644, allocations: 0 / 0.5907 GB, free: 15.87 MB / 478.1 MB Notification: Performance of Templates: time 0.06249/0.6269, allocations: 30.55 MB / 0.6205 GB, free: 1.578 MB / 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)