Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001293/0.001293, 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.001432/0.001432, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9392/0.9392, allocations: 135.6 MB / 425.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 64.36 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1671, allocations: 81.02 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3009/0.468, allocations: 74.52 MB / 0.6573 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.4845, allocations: 15.03 MB / 0.6719 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.4869, allocations: 59.97 kB / 0.672 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.4889, allocations: 0.7124 MB / 0.6727 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006612/0.4956, allocations: 2.41 MB / 0.675 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.4989, allocations: 1.284 MB / 0.6763 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006059/0.505, allocations: 4.425 MB / 0.6806 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.5073, allocations: 1.447 MB / 0.682 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.5114, allocations: 1.657 MB / 0.6837 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/0.5143, allocations: 1.248 MB / 0.6849 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005789/0.5149, allocations: 165.9 kB / 0.685 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.519, allocations: 1.417 MB / 0.6864 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000824/0.5198, allocations: 400.1 kB / 0.6868 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.522, allocations: 0.9127 MB / 0.6877 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.5268, allocations: 2.859 MB / 0.6905 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5268, allocations: 3.375 kB / 0.6905 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5268, allocations: 0 / 0.6905 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.139e-05/0.5269, allocations: 0 / 0.6905 GB, free: 2.695 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.00448/0.5314, allocations: 2.09 MB / 0.6925 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5314, allocations: 13.91 kB / 0.6925 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/0.5323, allocations: 227.7 kB / 0.6928 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.535, allocations: 1.505 MB / 0.6942 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.535, allocations: 81.27 kB / 0.6943 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.5352, allocations: 101.2 kB / 0.6944 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.5374, allocations: 1.095 MB / 0.6955 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.5374, allocations: 1.344 kB / 0.6955 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/0.5375, allocations: 40.91 kB / 0.6955 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.5376, allocations: 29.64 kB / 0.6955 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.5395, allocations: 0.8863 MB / 0.6964 GB, free: 15.41 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.006683/0.5462, allocations: 4.906 MB / 0.7012 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.5479, allocations: 0.619 MB / 0.7018 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.5487, allocations: 355.4 kB / 0.7021 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008171/0.5496, allocations: 0.8238 MB / 0.7029 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.5496, allocations: 40 kB / 0.703 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.905e-06/0.5496, allocations: 4 kB / 0.703 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007076/0.5567, allocations: 1.695 MB / 0.7046 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5568, allocations: 58.5 kB / 0.7047 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.5585, allocations: 1.216 MB / 0.7059 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.623e-05/0.5586, allocations: 38.73 kB / 0.7059 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.5592, allocations: 0.6039 MB / 0.7065 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.5594, allocations: 212.4 kB / 0.7067 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.5597, allocations: 157.1 kB / 0.7069 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5598, allocations: 338.6 kB / 0.7072 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.5605, allocations: 286.6 kB / 0.7075 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008416/0.5613, allocations: 0.4932 MB / 0.7079 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.5627, allocations: 0.7038 MB / 0.7086 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5627, allocations: 1.062 kB / 0.7086 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00457/0.5673, allocations: 1.278 MB / 0.7099 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5673, allocations: 6.344 kB / 0.7099 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5674, allocations: 4.438 kB / 0.7099 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.5679, allocations: 139.3 kB / 0.71 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.5685, allocations: 156.7 kB / 0.7102 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008585/0.5694, allocations: 0.7026 MB / 0.7109 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.5707, allocations: 159.3 kB / 0.711 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.5708, allocations: 35.92 kB / 0.711 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.5719, allocations: 0.5482 MB / 0.7116 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000832/0.5727, allocations: 0.4948 MB / 0.7121 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.5741, allocations: 0.7015 MB / 0.7127 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.5741, allocations: 5.281 kB / 0.7127 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004541/0.5787, allocations: 1.268 MB / 0.714 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5787, allocations: 10.86 kB / 0.714 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5787, allocations: 2.75 kB / 0.714 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.5792, allocations: 139.2 kB / 0.7141 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.5798, allocations: 161.4 kB / 0.7143 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008671/0.5807, allocations: 0.6985 MB / 0.715 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.582, allocations: 135.5 kB / 0.7151 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.582, allocations: 35.7 kB / 0.7151 GB, free: 3.777 MB / 0.5294 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.0003129/0.5824, allocations: 222 kB / 0.7153 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.5826, allocations: 135.3 kB / 0.7155 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/0.5872, allocations: 1.269 MB / 0.7167 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.5872, allocations: 10.19 kB / 0.7167 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5872, allocations: 0 / 0.7167 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003954/0.5912, allocations: 1.099 MB / 0.7178 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00668/0.5979, allocations: 2.613 MB / 0.7203 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5979, allocations: 3.125 kB / 0.7204 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.5984, allocations: 109.8 kB / 0.7205 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.5989, allocations: 134.9 kB / 0.7206 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.5989, allocations: 27.98 kB / 0.7206 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/0.604, allocations: 2.633 MB / 0.7232 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.6041, allocations: 8.062 kB / 0.7232 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/0.6095, allocations: 1.699 MB / 0.7248 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.6105, allocations: 299.2 kB / 0.7251 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.6107, allocations: 16 kB / 0.7251 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.6116, allocations: 83.92 kB / 0.7252 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6117, allocations: 72.27 kB / 0.7253 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.6118, allocations: 35.92 kB / 0.7253 GB, free: 11.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001249/0.6131, allocations: 0.874 MB / 0.7262 GB, free: 10.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6131, allocations: 0 / 0.7262 GB, free: 10.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001993/0.6151, allocations: 0.7057 MB / 0.7269 GB, free: 9.441 MB / 0.545 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.0009238/0.616, allocations: 437.8 kB / 0.7273 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.6188, allocations: 1.165 MB / 0.7284 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6188, allocations: 4 kB / 0.7284 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.6202, allocations: 0.5603 MB / 0.729 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.6235, allocations: 0.8067 MB / 0.7298 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.6274, allocations: 2.77 MB / 0.7325 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008465/0.6283, allocations: 1.183 MB / 0.7336 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001144/0.6295, allocations: 307 kB / 0.7339 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.6297, allocations: 111.4 kB / 0.734 GB, free: 2.055 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.6297, allocations: 0 / 0.734 GB, free: 2.055 MB / 0.545 GB Notification: Performance of Templates: time 0.0521/0.6818, allocations: 31.59 MB / 0.7649 GB, free: 2.824 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)