Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001123/0.001124, 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.001234/0.001234, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7457/0.7457, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 64.31 kB / 0.5018 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4249, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07019/0.4952, allocations: 75.18 MB / 0.6535 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.5156, allocations: 15.14 MB / 0.6683 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.5194, allocations: 67.62 kB / 0.6683 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.522, allocations: 0.8306 MB / 0.6692 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007556/0.5296, allocations: 2.579 MB / 0.6717 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.5329, allocations: 1.388 MB / 0.673 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004933/0.5379, allocations: 4.385 MB / 0.6773 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.5397, allocations: 1.449 MB / 0.6787 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.543, allocations: 1.637 MB / 0.6803 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.5448, allocations: 1.214 MB / 0.6815 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.5451, allocations: 164 kB / 0.6817 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.548, allocations: 1.396 MB / 0.683 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.5483, allocations: 402.6 kB / 0.6834 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009215/0.5493, allocations: 0.9099 MB / 0.6843 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004394/0.5537, allocations: 2.844 MB / 0.6871 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5537, allocations: 0 / 0.6871 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5537, allocations: 0 / 0.6871 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.5537, allocations: 0 / 0.6871 GB, free: 3.668 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003627/0.5574, allocations: 2.091 MB / 0.6891 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5574, allocations: 8.031 kB / 0.6891 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008232/0.5582, allocations: 234.8 kB / 0.6894 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.5605, allocations: 1.466 MB / 0.6908 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.5606, allocations: 74 kB / 0.6909 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.5607, allocations: 104 kB / 0.691 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.5627, allocations: 1.096 MB / 0.692 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.5627, allocations: 11.92 kB / 0.692 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/0.5628, allocations: 40 kB / 0.6921 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.5629, allocations: 24 kB / 0.6921 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.5646, allocations: 0.8939 MB / 0.693 GB, free: 13.47 MB / 0.5294 GB 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.005583/0.5702, allocations: 4.942 MB / 0.6978 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.5716, allocations: 0.6258 MB / 0.6984 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/0.5723, allocations: 346.3 kB / 0.6987 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/0.573, allocations: 0.8316 MB / 0.6996 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.573, allocations: 39.12 kB / 0.6996 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.573, allocations: 0 / 0.6996 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007039/0.58, allocations: 1.693 MB / 0.7012 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.5801, allocations: 59.97 kB / 0.7013 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.5817, allocations: 1.23 MB / 0.7025 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.5818, allocations: 45.7 kB / 0.7025 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/0.5823, allocations: 0.6142 MB / 0.7031 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.5825, allocations: 212.9 kB / 0.7033 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.5828, allocations: 150.6 kB / 0.7035 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5829, allocations: 337.9 kB / 0.7038 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.5835, allocations: 288.7 kB / 0.7041 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.5843, allocations: 0.489 MB / 0.7046 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.5857, allocations: 0.7051 MB / 0.7053 GB, free: 212 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.5858, allocations: 4 kB / 0.7053 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004815/0.5906, allocations: 1.277 MB / 0.7065 GB, free: 14.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.5906, allocations: 4 kB / 0.7065 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.5906, allocations: 4 kB / 0.7065 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006516/0.5913, allocations: 143.1 kB / 0.7067 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.5919, allocations: 155.8 kB / 0.7068 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008767/0.5928, allocations: 0.7083 MB / 0.7075 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.5939, allocations: 119 kB / 0.7076 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.594, allocations: 31.98 kB / 0.7076 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001049/0.5951, allocations: 0.5527 MB / 0.7082 GB, free: 13.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007615/0.5958, allocations: 0.4928 MB / 0.7087 GB, free: 12.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001273/0.5971, allocations: 0.7011 MB / 0.7093 GB, free: 11.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.5971, allocations: 0 / 0.7093 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004537/0.6017, allocations: 1.265 MB / 0.7106 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6017, allocations: 4 kB / 0.7106 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6017, allocations: 7.938 kB / 0.7106 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/0.6022, allocations: 145 kB / 0.7107 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.6028, allocations: 155.8 kB / 0.7109 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007259/0.6035, allocations: 0.7078 MB / 0.7116 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/0.6045, allocations: 105.5 kB / 0.7117 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.6045, allocations: 31.98 kB / 0.7117 GB, free: 9.395 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.6048, allocations: 232.7 kB / 0.7119 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.605, allocations: 134.4 kB / 0.712 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/0.6094, allocations: 1.26 MB / 0.7133 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.6095, allocations: 19.92 kB / 0.7133 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6095, allocations: 0 / 0.7133 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00401/0.6135, allocations: 1.107 MB / 0.7144 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/0.6195, allocations: 2.618 MB / 0.7169 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6195, allocations: 0 / 0.7169 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.62, allocations: 115.8 kB / 0.717 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.6205, allocations: 133.2 kB / 0.7172 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.6205, allocations: 23.98 kB / 0.7172 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004783/0.6253, allocations: 2.63 MB / 0.7198 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6254, allocations: 4 kB / 0.7198 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/0.6305, allocations: 1.699 MB / 0.7214 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.631, allocations: 311.1 kB / 0.7217 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.6312, allocations: 16 kB / 0.7217 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.6319, allocations: 55.98 kB / 0.7218 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.6321, allocations: 56.31 kB / 0.7218 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.6321, allocations: 27.98 kB / 0.7219 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001124/0.6333, allocations: 0.8857 MB / 0.7227 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6333, allocations: 4 kB / 0.7227 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001681/0.635, allocations: 0.7174 MB / 0.7234 GB, free: 12.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007951/0.6358, allocations: 459 kB / 0.7239 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002579/0.6383, allocations: 1.148 MB / 0.725 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6384, allocations: 4 kB / 0.725 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.6398, allocations: 0.5688 MB / 0.7256 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/0.6431, allocations: 0.8118 MB / 0.7264 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.6467, allocations: 2.311 MB / 0.7286 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.6475, allocations: 1.179 MB / 0.7298 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001161/0.6487, allocations: 309.3 kB / 0.7301 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.6489, allocations: 103.4 kB / 0.7302 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.6489, allocations: 0 / 0.7302 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of Templates: time 0.04935/0.6983, allocations: 32.2 MB / 0.7616 GB, free: 6.207 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)