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.001059/0.001059, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001061/0.001061, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3848, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06183/0.4467, allocations: 75.17 MB / 0.6549 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02037/0.4671, allocations: 15.15 MB / 0.6697 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.4699, allocations: 67.62 kB / 0.6698 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.4721, allocations: 0.8267 MB / 0.6706 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007276/0.4794, allocations: 2.585 MB / 0.6731 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.4834, allocations: 1.396 MB / 0.6744 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00628/0.4897, allocations: 4.403 MB / 0.6787 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.4918, allocations: 1.445 MB / 0.6802 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.4952, allocations: 1.646 MB / 0.6818 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.4971, allocations: 1.218 MB / 0.683 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.4974, allocations: 164 kB / 0.6831 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.5003, allocations: 1.404 MB / 0.6845 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004059/0.5007, allocations: 394.6 kB / 0.6849 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.5018, allocations: 0.9099 MB / 0.6857 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.5057, allocations: 2.871 MB / 0.6886 GB, free: 328 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5057, allocations: 0 / 0.6886 GB, free: 328 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5057, allocations: 0 / 0.6886 GB, free: 328 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.5057, allocations: 0 / 0.6886 GB, free: 328 kB / 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.003815/0.5095, allocations: 2.095 MB / 0.6906 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5096, allocations: 8.031 kB / 0.6906 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.5104, allocations: 234.8 kB / 0.6908 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.513, allocations: 1.528 MB / 0.6923 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.5131, allocations: 77.94 kB / 0.6924 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.5133, allocations: 104 kB / 0.6925 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.5153, allocations: 1.096 MB / 0.6936 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.5153, allocations: 0 / 0.6936 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.5154, allocations: 36 kB / 0.6936 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.5154, allocations: 35.92 kB / 0.6936 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.5173, allocations: 0.8861 MB / 0.6945 GB, free: 10.07 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.006821/0.5242, allocations: 4.911 MB / 0.6993 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.5255, allocations: 0.6198 MB / 0.6999 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.5262, allocations: 353.4 kB / 0.7002 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.5268, allocations: 0.8238 MB / 0.701 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.5269, allocations: 43.11 kB / 0.7011 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.495e-06/0.5269, allocations: 3.938 kB / 0.7011 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006706/0.5336, allocations: 1.693 MB / 0.7027 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5336, allocations: 63.95 kB / 0.7028 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.5355, allocations: 1.234 MB / 0.704 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.5357, allocations: 41.7 kB / 0.704 GB, free: 15.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.5362, allocations: 0.5987 MB / 0.7046 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.5364, allocations: 212.9 kB / 0.7048 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.5366, allocations: 154.5 kB / 0.705 GB, free: 14.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5367, allocations: 337.9 kB / 0.7053 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.5374, allocations: 292.7 kB / 0.7056 GB, free: 14.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008192/0.5382, allocations: 0.4929 MB / 0.7061 GB, free: 13.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.5395, allocations: 0.7051 MB / 0.7068 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5396, allocations: 4 kB / 0.7068 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004407/0.544, allocations: 1.273 MB / 0.708 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.544, allocations: 8 kB / 0.708 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.544, allocations: 4 kB / 0.708 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.5446, allocations: 133.1 kB / 0.7081 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.5452, allocations: 155.8 kB / 0.7083 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000824/0.5461, allocations: 0.7148 MB / 0.709 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.5471, allocations: 115.1 kB / 0.7091 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.5472, allocations: 31.98 kB / 0.7091 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001057/0.5482, allocations: 0.5527 MB / 0.7097 GB, free: 9.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007848/0.549, allocations: 0.4889 MB / 0.7101 GB, free: 9.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001318/0.5504, allocations: 0.7012 MB / 0.7108 GB, free: 8.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.5504, allocations: 0 / 0.7108 GB, free: 8.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004379/0.5548, allocations: 1.277 MB / 0.7121 GB, free: 7.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5548, allocations: 8 kB / 0.7121 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5548, allocations: 3.938 kB / 0.7121 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.5553, allocations: 141 kB / 0.7122 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.5559, allocations: 163.7 kB / 0.7124 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007713/0.5567, allocations: 0.7084 MB / 0.7131 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.5578, allocations: 99.39 kB / 0.7132 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.5579, allocations: 35.98 kB / 0.7132 GB, free: 6.008 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.0002585/0.5581, allocations: 224.8 kB / 0.7134 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.5584, allocations: 130.4 kB / 0.7135 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.5628, allocations: 1.267 MB / 0.7148 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.5629, allocations: 15.97 kB / 0.7148 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5629, allocations: 0 / 0.7148 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003839/0.5667, allocations: 1.103 MB / 0.7159 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006336/0.5731, allocations: 2.618 MB / 0.7184 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5731, allocations: 4 kB / 0.7184 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.5736, allocations: 111.9 kB / 0.7185 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.5741, allocations: 124.9 kB / 0.7187 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.5741, allocations: 19.98 kB / 0.7187 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/0.579, allocations: 2.634 MB / 0.7212 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.579, allocations: 4 kB / 0.7212 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.5841, allocations: 1.699 MB / 0.7229 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/0.5848, allocations: 307.2 kB / 0.7232 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.585, allocations: 12 kB / 0.7232 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.5858, allocations: 63.98 kB / 0.7233 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5859, allocations: 56.25 kB / 0.7233 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.586, allocations: 31.98 kB / 0.7234 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001234/0.5872, allocations: 0.8935 MB / 0.7242 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5873, allocations: 0 / 0.7242 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001858/0.5891, allocations: 0.7174 MB / 0.7249 GB, free: 9.582 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.0008788/0.59, allocations: 455.1 kB / 0.7254 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002641/0.5927, allocations: 1.125 MB / 0.7265 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5927, allocations: 0 / 0.7265 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.5941, allocations: 0.5603 MB / 0.727 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/0.5973, allocations: 0.8097 MB / 0.7278 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.6011, allocations: 2.275 MB / 0.73 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.6019, allocations: 1.179 MB / 0.7312 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001165/0.6031, allocations: 311 kB / 0.7315 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.6034, allocations: 103.4 kB / 0.7316 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.6034, allocations: 0 / 0.7316 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of Templates: time 0.3129/0.9163, allocations: 32.18 MB / 0.763 GB, free: 151.4 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)