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.009826/0.009826, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.001606/0.001606, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3775/0.3775, allocations: 54.95 MB / 324.8 MB, free: 48 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.001633/0.001633, allocations: 71.5 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1292, allocations: 59.59 MB / 0.5037 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.06911/0.1983, allocations: 74.5 MB / 0.5765 GB, free: 224 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.2195, allocations: 14.2 MB / 0.5904 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.2229, allocations: 63.69 kB / 0.5904 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002913/0.2259, allocations: 0.8812 MB / 0.5913 GB, free: 1.023 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007413/0.2333, allocations: 2.53 MB / 0.5938 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.2368, allocations: 1.239 MB / 0.595 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00665/0.2434, allocations: 4.363 MB / 0.5992 GB, free: 8.875 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.2457, allocations: 1.406 MB / 0.6006 GB, free: 7.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.2498, allocations: 1.706 MB / 0.6023 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.2523, allocations: 1.291 MB / 0.6035 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003278/0.2526, allocations: 164 kB / 0.6037 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.2556, allocations: 1.248 MB / 0.6049 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.256, allocations: 402.6 kB / 0.6053 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.2573, allocations: 0.941 MB / 0.6062 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.2617, allocations: 2.839 MB / 0.609 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2618, allocations: 0 / 0.609 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2618, allocations: 0 / 0.609 GB, free: 14.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.233e-05/0.2618, allocations: 0 / 0.609 GB, free: 14.84 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.003946/0.2658, allocations: 2.114 MB / 0.611 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2658, allocations: 12.03 kB / 0.6111 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.2669, allocations: 246.8 kB / 0.6113 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.2694, allocations: 1.481 MB / 0.6127 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.2695, allocations: 90.05 kB / 0.6128 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.2697, allocations: 104 kB / 0.6129 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.2725, allocations: 1.374 MB / 0.6143 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.2726, allocations: 3.984 kB / 0.6143 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.2727, allocations: 56 kB / 0.6143 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.2728, allocations: 35.92 kB / 0.6144 GB, free: 9.074 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.2752, allocations: 1.03 MB / 0.6154 GB, free: 8.047 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.007932/0.2832, allocations: 6.567 MB / 0.6218 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.285, allocations: 0.6394 MB / 0.6224 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.2857, allocations: 330.9 kB / 0.6227 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.2861, allocations: 337 kB / 0.623 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.2861, allocations: 43.11 kB / 0.6231 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 2.685e-06/0.2861, allocations: 4 kB / 0.6231 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.006826/0.293, allocations: 2.308 MB / 0.6253 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.2931, allocations: 162.8 kB / 0.6255 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.2949, allocations: 1.271 MB / 0.6267 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.295, allocations: 45.64 kB / 0.6268 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.2955, allocations: 0.6684 MB / 0.6274 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.2958, allocations: 236.5 kB / 0.6277 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.296, allocations: 182.5 kB / 0.6278 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2962, allocations: 334 kB / 0.6281 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/0.297, allocations: 336.6 kB / 0.6285 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.298, allocations: 0.6613 MB / 0.6291 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.2998, allocations: 0.9216 MB / 0.63 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2998, allocations: 7.938 kB / 0.63 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002335/0.3021, allocations: 1.071 MB / 0.6311 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3022, allocations: 8 kB / 0.6311 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3022, allocations: 8 kB / 0.6311 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/0.3022, allocations: 16.72 kB / 0.6311 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/0.3032, allocations: 231.7 kB / 0.6313 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.3032, allocations: 15.94 kB / 0.6313 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.3044, allocations: 79.91 kB / 0.6314 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.3044, allocations: 40 kB / 0.6314 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/0.3056, allocations: 0.5877 MB / 0.632 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009053/0.3065, allocations: 0.634 MB / 0.6326 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001521/0.308, allocations: 0.8789 MB / 0.6335 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.3081, allocations: 4 kB / 0.6335 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002062/0.3101, allocations: 1.021 MB / 0.6345 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3102, allocations: 12 kB / 0.6345 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3102, allocations: 4 kB / 0.6345 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3102, allocations: 12.06 kB / 0.6345 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.311, allocations: 232 kB / 0.6347 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.311, allocations: 23.88 kB / 0.6348 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.3122, allocations: 84.14 kB / 0.6348 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.3122, allocations: 36 kB / 0.6349 GB, free: 2.895 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.0002832/0.3125, allocations: 232 kB / 0.6351 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.3128, allocations: 142.3 kB / 0.6352 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.3151, allocations: 0.9338 MB / 0.6362 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3151, allocations: 4 kB / 0.6362 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3151, allocations: 8 kB / 0.6362 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001732/0.3168, allocations: 0.8334 MB / 0.637 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3256/0.6425, allocations: 2.48 MB / 0.6394 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.6425, allocations: 5.594 kB / 0.6394 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.6433, allocations: 158.6 kB / 0.6396 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/0.6437, allocations: 79.64 kB / 0.6396 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.6437, allocations: 24.92 kB / 0.6397 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006451/0.6444, allocations: 1.155 MB / 0.6408 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.6444, allocations: 9.234 kB / 0.6408 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.6479, allocations: 1.505 MB / 0.6423 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009081/0.6488, allocations: 309.3 kB / 0.6426 GB, free: 125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/0.6493, allocations: 19.05 kB / 0.6426 GB, free: 125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.6506, allocations: 73.73 kB / 0.6426 GB, free: 125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.6508, allocations: 59.73 kB / 0.6427 GB, free: 125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.651, allocations: 32.91 kB / 0.6427 GB, free: 125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002177/0.6532, allocations: 0.9009 MB / 0.6436 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6532, allocations: 0 / 0.6436 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003095/0.6563, allocations: 0.6418 MB / 0.6442 GB, free: 124.6 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.0009792/0.6573, allocations: 374.8 kB / 0.6446 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003764/0.6611, allocations: 1.288 MB / 0.6459 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/0.6611, allocations: 0 / 0.6459 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.6626, allocations: 431.1 kB / 0.6463 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/0.6682, allocations: 0.8736 MB / 0.6471 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.6735, allocations: 2.433 MB / 0.6495 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.6746, allocations: 1.196 MB / 0.6507 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001889/0.6765, allocations: 331 kB / 0.651 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.6769, allocations: 118.6 kB / 0.6511 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.6769, allocations: 0 / 0.6511 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.04482/0.7217, allocations: 31.4 MB / 0.6818 GB, free: 94.39 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)