Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 183.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7965/0.7965, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 113.6 kB / 484.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.123, allocations: 80.21 MB / 0.6402 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3186/0.4417, allocations: 60.87 MB / 0.6996 GB, free: 26.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.4563, allocations: 12.06 MB / 0.7114 GB, free: 25.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.4583, allocations: 55.53 kB / 0.7114 GB, free: 25.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.4599, allocations: 0.5495 MB / 0.712 GB, free: 25.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.4652, allocations: 1.802 MB / 0.7137 GB, free: 25.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.4685, allocations: 1.074 MB / 0.7148 GB, free: 25.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005593/0.4741, allocations: 3.941 MB / 0.7186 GB, free: 23.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.4756, allocations: 0.9426 MB / 0.7196 GB, free: 23.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.478, allocations: 1.173 MB / 0.7207 GB, free: 22.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.4792, allocations: 0.9047 MB / 0.7216 GB, free: 22.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4794, allocations: 58.53 kB / 0.7216 GB, free: 22.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.4823, allocations: 1.333 MB / 0.723 GB, free: 22.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.4825, allocations: 245.7 kB / 0.7232 GB, free: 22.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000642/0.4831, allocations: 0.6437 MB / 0.7238 GB, free: 21.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.4863, allocations: 2.246 MB / 0.726 GB, free: 20.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4863, allocations: 4 kB / 0.726 GB, free: 20.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4863, allocations: 1.312 kB / 0.726 GB, free: 20.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.779e-05/0.4864, allocations: 0 / 0.726 GB, free: 20.99 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002949/0.4893, allocations: 1.743 MB / 0.7277 GB, free: 19.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4894, allocations: 9.562 kB / 0.7277 GB, free: 19.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.4916, allocations: 410 kB / 0.7281 GB, free: 19.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.4936, allocations: 1.138 MB / 0.7292 GB, free: 19.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.4939, allocations: 118.7 kB / 0.7293 GB, free: 19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.4941, allocations: 79.94 kB / 0.7294 GB, free: 18.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.496, allocations: 1.003 MB / 0.7304 GB, free: 18.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.496, allocations: 1.094 kB / 0.7304 GB, free: 18.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.4961, allocations: 32 kB / 0.7304 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.4962, allocations: 18.94 kB / 0.7304 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.4986, allocations: 0.8932 MB / 0.7313 GB, free: 17.87 MB / 490.7 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.005375/0.504, allocations: 4.858 MB / 0.7361 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.5074, allocations: 0.806 MB / 0.7368 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.5081, allocations: 319.8 kB / 0.7372 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/0.5086, allocations: 0.9068 MB / 0.738 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5086, allocations: 43.98 kB / 0.7381 GB, free: 11.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=44): time 2.705e-06/0.5086, allocations: 1.062 kB / 0.7381 GB, free: 11.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.008632/0.5172, allocations: 1.951 MB / 0.74 GB, free: 10.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.5173, allocations: 60.42 kB / 0.74 GB, free: 10.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5188, allocations: 1.055 MB / 0.7411 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.5188, allocations: 38.23 kB / 0.7411 GB, free: 10.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.5191, allocations: 0.5262 MB / 0.7416 GB, free: 9.742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.856e-05/0.5192, allocations: 160.4 kB / 0.7418 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.5194, allocations: 129.6 kB / 0.7419 GB, free: 9.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.5195, allocations: 331 kB / 0.7422 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008707/0.5204, allocations: 319.9 kB / 0.7425 GB, free: 9.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009854/0.5214, allocations: 0.5239 MB / 0.743 GB, free: 8.629 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.523, allocations: 0.707 MB / 0.7437 GB, free: 8.172 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.523, allocations: 5.188 kB / 0.7437 GB, free: 8.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002585/0.5256, allocations: 1.02 MB / 0.7447 GB, free: 7.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5256, allocations: 7.188 kB / 0.7447 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5256, allocations: 5 kB / 0.7447 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.5269, allocations: 313.8 kB / 0.745 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.5274, allocations: 128.8 kB / 0.7452 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.5286, allocations: 0.9168 MB / 0.7461 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.5299, allocations: 186.6 kB / 0.7462 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.53, allocations: 28.52 kB / 0.7463 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001172/0.5312, allocations: 0.5192 MB / 0.7468 GB, free: 6.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009774/0.5322, allocations: 0.5214 MB / 0.7473 GB, free: 5.902 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001598/0.5338, allocations: 0.7011 MB / 0.748 GB, free: 5.449 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.5338, allocations: 0 / 0.748 GB, free: 5.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002532/0.5363, allocations: 1.011 MB / 0.7489 GB, free: 4.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5364, allocations: 8 kB / 0.749 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5364, allocations: 7.938 kB / 0.749 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.5374, allocations: 309 kB / 0.7493 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.5379, allocations: 123.8 kB / 0.7494 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.5391, allocations: 0.909 MB / 0.7503 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.5405, allocations: 163.5 kB / 0.7504 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.5406, allocations: 31.92 kB / 0.7504 GB, free: 2.887 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.5408, allocations: 217.4 kB / 0.7507 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.5409, allocations: 114.7 kB / 0.7508 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.5446, allocations: 1.136 MB / 0.7519 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5447, allocations: 7.938 kB / 0.7519 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5447, allocations: 4 kB / 0.7519 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5447, allocations: 7.984 kB / 0.7519 GB, free: 1.387 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/0.5498, allocations: 2.225 MB / 0.7541 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5498, allocations: 0 / 0.7541 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.5502, allocations: 71.89 kB / 0.7541 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.5513, allocations: 305.8 kB / 0.7544 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.5513, allocations: 12 kB / 0.7544 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.5529, allocations: 0.948 MB / 0.7554 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5529, allocations: 4.031 kB / 0.7554 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/0.5584, allocations: 2.313 MB / 0.7576 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.559, allocations: 267.5 kB / 0.7579 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.5592, allocations: 16 kB / 0.7579 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/0.5601, allocations: 99.78 kB / 0.758 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5602, allocations: 39.95 kB / 0.758 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.5603, allocations: 19.98 kB / 0.758 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001173/0.5615, allocations: 0.7393 MB / 0.7588 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5615, allocations: 0 / 0.7588 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00184/0.5633, allocations: 0.5886 MB / 0.7593 GB, free: 9.543 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008025/0.5642, allocations: 385.2 kB / 0.7597 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003392/0.5676, allocations: 1.14 MB / 0.7608 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5676, allocations: 4 kB / 0.7608 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009839/0.5686, allocations: 370.4 kB / 0.7612 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.5711, allocations: 0.4939 MB / 0.7617 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.5766, allocations: 2.769 MB / 0.7644 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.5773, allocations: 1.077 MB / 0.7654 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009654/0.5782, allocations: 224.2 kB / 0.7656 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.5784, allocations: 79.42 kB / 0.7657 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.5784, allocations: 0 / 0.7657 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of Templates: time 0.03952/0.618, allocations: 24.65 MB / 0.7898 GB, free: 10.61 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)