Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 102.7 kB / 16.27 MB, free: 5.988 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.0015/0.0015, allocations: 188.9 kB / 17.2 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8124/0.8124, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 64.14 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3922, allocations: 80.93 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07141/0.4636, allocations: 75.2 MB / 0.6585 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.4862, allocations: 15.14 MB / 0.6733 GB, free: 0 / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.4888, allocations: 63.73 kB / 0.6733 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.4914, allocations: 0.8345 MB / 0.6742 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007706/0.4992, allocations: 2.581 MB / 0.6767 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.5029, allocations: 1.375 MB / 0.678 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006469/0.5094, allocations: 4.393 MB / 0.6823 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.5117, allocations: 1.453 MB / 0.6837 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.5157, allocations: 1.632 MB / 0.6853 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.5178, allocations: 1.214 MB / 0.6865 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.5181, allocations: 164 kB / 0.6867 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.5213, allocations: 1.423 MB / 0.6881 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.5217, allocations: 402.6 kB / 0.6884 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.5229, allocations: 0.9099 MB / 0.6893 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.5272, allocations: 2.851 MB / 0.6921 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5272, allocations: 3.938 kB / 0.6921 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5272, allocations: 0 / 0.6921 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.5272, allocations: 3.938 kB / 0.6921 GB, free: 12.64 MB / 0.5294 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.003978/0.5312, allocations: 2.095 MB / 0.6942 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5313, allocations: 9.109 kB / 0.6942 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.5321, allocations: 230.8 kB / 0.6944 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.5346, allocations: 1.469 MB / 0.6958 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.5347, allocations: 74 kB / 0.6959 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.5348, allocations: 104 kB / 0.696 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.5369, allocations: 1.104 MB / 0.6971 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5369, allocations: 3.938 kB / 0.6971 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.537, allocations: 36 kB / 0.6971 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.537, allocations: 24 kB / 0.6971 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.5389, allocations: 0.9056 MB / 0.698 GB, free: 6.438 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.006107/0.545, allocations: 4.943 MB / 0.7028 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.5465, allocations: 0.6216 MB / 0.7035 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/0.5472, allocations: 354.3 kB / 0.7038 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007766/0.548, allocations: 0.8316 MB / 0.7046 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.548, allocations: 43.11 kB / 0.7046 GB, free: 15.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.5481, allocations: 3.938 kB / 0.7046 GB, free: 15.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.004918/0.553, allocations: 1.405 MB / 0.706 GB, free: 13.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.553, allocations: 59.97 kB / 0.7061 GB, free: 13.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.5547, allocations: 1.226 MB / 0.7073 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.5548, allocations: 37.7 kB / 0.7073 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.5554, allocations: 0.6066 MB / 0.7079 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.5556, allocations: 216.8 kB / 0.7081 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.5558, allocations: 158.5 kB / 0.7083 GB, free: 11.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.556, allocations: 341.9 kB / 0.7086 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/0.5567, allocations: 284.7 kB / 0.7089 GB, free: 10.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.5576, allocations: 499.8 kB / 0.7093 GB, free: 10.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.559, allocations: 0.7082 MB / 0.71 GB, free: 9.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.559, allocations: 4 kB / 0.71 GB, free: 9.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004627/0.5637, allocations: 1.261 MB / 0.7113 GB, free: 8.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5637, allocations: 8 kB / 0.7113 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.5637, allocations: 0 / 0.7113 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006791/0.5644, allocations: 160.2 kB / 0.7114 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.565, allocations: 163.7 kB / 0.7116 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009175/0.5659, allocations: 0.7162 MB / 0.7123 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.567, allocations: 119.1 kB / 0.7124 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.5671, allocations: 35.98 kB / 0.7124 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001144/0.5682, allocations: 0.5496 MB / 0.713 GB, free: 6.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008504/0.5691, allocations: 0.492 MB / 0.7134 GB, free: 5.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001408/0.5705, allocations: 0.6964 MB / 0.7141 GB, free: 5.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/0.5705, allocations: 8 kB / 0.7141 GB, free: 5.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004716/0.5752, allocations: 1.253 MB / 0.7154 GB, free: 3.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5753, allocations: 18.58 kB / 0.7154 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5753, allocations: 4 kB / 0.7154 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.5759, allocations: 153.1 kB / 0.7155 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.5765, allocations: 155.7 kB / 0.7157 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009454/0.5775, allocations: 0.724 MB / 0.7164 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.5786, allocations: 103.5 kB / 0.7165 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.5787, allocations: 35.98 kB / 0.7165 GB, free: 2.598 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.5789, allocations: 227 kB / 0.7167 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.5792, allocations: 138.2 kB / 0.7169 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004757/0.584, allocations: 1.262 MB / 0.7181 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.584, allocations: 12 kB / 0.7181 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.584, allocations: 0 / 0.7181 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00415/0.5882, allocations: 1.092 MB / 0.7192 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.5926, allocations: 2.309 MB / 0.7214 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.5926, allocations: 4 kB / 0.7214 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.5931, allocations: 108.3 kB / 0.7215 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00058/0.5937, allocations: 156.6 kB / 0.7217 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.5937, allocations: 19.94 kB / 0.7217 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008747/0.5946, allocations: 0.7044 MB / 0.7224 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.5946, allocations: 7.938 kB / 0.7224 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.5975, allocations: 1.391 MB / 0.7238 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.598, allocations: 315.1 kB / 0.7241 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.5982, allocations: 16.06 kB / 0.7241 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/0.599, allocations: 55.94 kB / 0.7241 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5991, allocations: 60.23 kB / 0.7242 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/0.5992, allocations: 35.92 kB / 0.7242 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00135/0.6005, allocations: 0.8896 MB / 0.7251 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6005, allocations: 0 / 0.7251 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002085/0.6026, allocations: 0.7096 MB / 0.7258 GB, free: 8.824 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009493/0.6036, allocations: 468.7 kB / 0.7262 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.6065, allocations: 1.16 MB / 0.7274 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.6065, allocations: 8 kB / 0.7274 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009229/0.6074, allocations: 391.3 kB / 0.7277 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.6108, allocations: 0.8146 MB / 0.7285 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.6148, allocations: 2.34 MB / 0.7308 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/0.6156, allocations: 1.172 MB / 0.732 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.6159, allocations: 115.3 kB / 0.7321 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.6159, allocations: 0 / 0.7321 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of Templates: time 0.2895/0.9054, allocations: 31.22 MB / 0.7626 GB, free: 151.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)