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.006584/0.006584, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.0018/0.001801, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.499/1.499, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4072/0.4072, allocations: 54.94 MB / 324.8 MB, free: 92 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.001706/0.001706, allocations: 67.12 kB / 456.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1398, allocations: 59.59 MB / 0.5038 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.0703/0.2101, allocations: 74.49 MB / 0.5765 GB, free: 160 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02024/0.2304, allocations: 14.2 MB / 0.5904 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.2331, allocations: 59.69 kB / 0.5905 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002979/0.2361, allocations: 0.9242 MB / 0.5914 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007758/0.2439, allocations: 2.651 MB / 0.5939 GB, free: 14.26 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004046/0.248, allocations: 1.255 MB / 0.5952 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007055/0.255, allocations: 4.369 MB / 0.5994 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.2579, allocations: 1.406 MB / 0.6008 GB, free: 7.195 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005088/0.263, allocations: 1.733 MB / 0.6025 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.2658, allocations: 1.295 MB / 0.6038 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007581/0.2666, allocations: 164 kB / 0.6039 GB, free: 4 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.2706, allocations: 1.24 MB / 0.6051 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008654/0.2715, allocations: 410.6 kB / 0.6055 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.2738, allocations: 0.9488 MB / 0.6065 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.2802, allocations: 2.832 MB / 0.6092 GB, free: 14.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.2803, allocations: 0 / 0.6092 GB, free: 14.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2803, allocations: 0 / 0.6092 GB, free: 14.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.2804, allocations: 0 / 0.6092 GB, free: 14.56 MB / 494.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.006684/0.2871, allocations: 2.114 MB / 0.6113 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2872, allocations: 8.031 kB / 0.6113 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.2886, allocations: 246.8 kB / 0.6115 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.2919, allocations: 1.477 MB / 0.613 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.292, allocations: 94.08 kB / 0.6131 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.2923, allocations: 104 kB / 0.6132 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/0.2956, allocations: 1.37 MB / 0.6145 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/0.2956, allocations: 7.938 kB / 0.6145 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.2958, allocations: 44 kB / 0.6145 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/0.2958, allocations: 43.98 kB / 0.6146 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.2986, allocations: 1.03 MB / 0.6156 GB, free: 7.781 MB / 494.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.008656/0.3073, allocations: 6.563 MB / 0.622 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.3093, allocations: 0.6277 MB / 0.6226 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.31, allocations: 338.9 kB / 0.6229 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.3104, allocations: 341 kB / 0.6233 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.3104, allocations: 47.05 kB / 0.6233 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 3.827e-06/0.3105, allocations: 4 kB / 0.6233 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.007329/0.3178, allocations: 2.304 MB / 0.6256 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3179, allocations: 162.8 kB / 0.6257 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.3205, allocations: 1.267 MB / 0.627 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.3207, allocations: 49.58 kB / 0.627 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.3213, allocations: 0.6644 MB / 0.6277 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.3217, allocations: 244.5 kB / 0.6279 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.3221, allocations: 182.5 kB / 0.6281 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3223, allocations: 334 kB / 0.6284 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.3233, allocations: 340.6 kB / 0.6287 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3244, allocations: 0.6613 MB / 0.6293 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.3263, allocations: 0.9216 MB / 0.6302 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3263, allocations: 0 / 0.6302 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00245/0.3288, allocations: 1.075 MB / 0.6313 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3288, allocations: 8 kB / 0.6313 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3288, allocations: 8 kB / 0.6313 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.3289, allocations: 15.94 kB / 0.6313 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.3298, allocations: 232.3 kB / 0.6316 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.491e-05/0.3298, allocations: 15.94 kB / 0.6316 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3311, allocations: 75.91 kB / 0.6316 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.3312, allocations: 40 kB / 0.6317 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001159/0.3323, allocations: 0.5877 MB / 0.6323 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008922/0.3332, allocations: 0.6379 MB / 0.6329 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001548/0.3348, allocations: 0.8829 MB / 0.6337 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.744e-06/0.3348, allocations: 4 kB / 0.6337 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002307/0.3371, allocations: 1.024 MB / 0.6347 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3372, allocations: 8 kB / 0.6347 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3372, allocations: 8 kB / 0.6348 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3372, allocations: 12 kB / 0.6348 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.338, allocations: 223.6 kB / 0.635 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/0.3381, allocations: 16.31 kB / 0.635 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.3396, allocations: 84.14 kB / 0.6351 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3397, allocations: 36 kB / 0.6351 GB, free: 2.637 MB / 0.4981 GB 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.0003865/0.3401, allocations: 236 kB / 0.6353 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.3405, allocations: 146.3 kB / 0.6355 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.3432, allocations: 0.9299 MB / 0.6364 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3433, allocations: 8 kB / 0.6364 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3433, allocations: 0 / 0.6364 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001723/0.345, allocations: 0.8373 MB / 0.6372 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3098/0.6548, allocations: 2.48 MB / 0.6396 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.6549, allocations: 6.75 kB / 0.6396 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.6557, allocations: 159.1 kB / 0.6398 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.6559, allocations: 83.5 kB / 0.6399 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.656, allocations: 22.55 kB / 0.6399 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006534/0.6567, allocations: 1.157 MB / 0.641 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.6567, allocations: 12.39 kB / 0.641 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.6601, allocations: 1.502 MB / 0.6425 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007449/0.6608, allocations: 307 kB / 0.6428 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.661, allocations: 26.39 kB / 0.6428 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/0.662, allocations: 65.73 kB / 0.6429 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.6621, allocations: 63.27 kB / 0.6429 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.6622, allocations: 32.8 kB / 0.643 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001653/0.6639, allocations: 0.8979 MB / 0.6438 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.9e-07/0.6639, allocations: 3.375 kB / 0.6438 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002338/0.6662, allocations: 0.6454 MB / 0.6445 GB, free: 124.9 MB / 0.4981 GB 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.0009013/0.6671, allocations: 372.6 kB / 0.6448 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003618/0.6708, allocations: 1.288 MB / 0.6461 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.6708, allocations: 1.719 kB / 0.6461 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.6723, allocations: 428.8 kB / 0.6465 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/0.6763, allocations: 0.8678 MB / 0.6474 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.681, allocations: 2.442 MB / 0.6497 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.682, allocations: 1.195 MB / 0.6509 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001484/0.6835, allocations: 331.1 kB / 0.6512 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.6838, allocations: 114.1 kB / 0.6513 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.6838, allocations: 0 / 0.6513 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04707/0.7308, allocations: 31.41 MB / 0.682 GB, free: 94.15 MB / 0.4981 GB 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)