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.001801/0.001801, 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.002031/0.002031, allocations: 197.3 kB / 16.26 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.51/1.51, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.076/1.076, allocations: 135.2 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.23 kB / 0.5049 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1973, allocations: 80.93 MB / 0.5839 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3054/0.5028, allocations: 74.55 MB / 0.6567 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.5197, allocations: 15.03 MB / 0.6714 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.5224, allocations: 62.94 kB / 0.6715 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.5248, allocations: 0.7109 MB / 0.6722 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007548/0.5323, allocations: 2.411 MB / 0.6745 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.5361, allocations: 1.288 MB / 0.6758 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006762/0.5429, allocations: 4.42 MB / 0.6801 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.5454, allocations: 1.442 MB / 0.6815 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005014/0.5505, allocations: 1.649 MB / 0.6831 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003291/0.5538, allocations: 1.256 MB / 0.6843 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004093/0.5542, allocations: 163.6 kB / 0.6845 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.5584, allocations: 1.44 MB / 0.6859 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005484/0.5589, allocations: 400.1 kB / 0.6863 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.5605, allocations: 0.9104 MB / 0.6872 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.5658, allocations: 2.868 MB / 0.69 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5658, allocations: 0 / 0.69 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5658, allocations: 1.594 kB / 0.69 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.694e-05/0.5659, allocations: 0 / 0.69 GB, free: 3.273 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.006005/0.5719, allocations: 2.098 MB / 0.692 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.572, allocations: 8.656 kB / 0.692 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.5732, allocations: 232.5 kB / 0.6923 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.5766, allocations: 1.5 MB / 0.6937 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.5767, allocations: 75.94 kB / 0.6938 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.5769, allocations: 104.4 kB / 0.6939 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.5793, allocations: 1.105 MB / 0.695 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.5793, allocations: 1.438 kB / 0.695 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.5794, allocations: 36.5 kB / 0.695 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.5795, allocations: 25.62 kB / 0.695 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.5816, allocations: 0.8967 MB / 0.6959 GB, free: 15.98 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.007532/0.5891, allocations: 4.919 MB / 0.7007 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.5912, allocations: 0.6193 MB / 0.7013 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008534/0.592, allocations: 356.8 kB / 0.7017 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007908/0.5928, allocations: 0.8306 MB / 0.7025 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.5929, allocations: 41.42 kB / 0.7025 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.395e-06/0.5929, allocations: 3.938 kB / 0.7025 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.005347/0.5982, allocations: 1.405 MB / 0.7039 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.5983, allocations: 57.47 kB / 0.7039 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.6003, allocations: 1.218 MB / 0.7051 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.6004, allocations: 39.48 kB / 0.7052 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.6011, allocations: 0.6022 MB / 0.7058 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.6014, allocations: 225.1 kB / 0.706 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.6016, allocations: 152.9 kB / 0.7061 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6018, allocations: 337.9 kB / 0.7064 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.6025, allocations: 289.5 kB / 0.7067 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/0.6035, allocations: 497.3 kB / 0.7072 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.605, allocations: 0.7098 MB / 0.7079 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.605, allocations: 1 kB / 0.7079 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004926/0.61, allocations: 1.264 MB / 0.7091 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.61, allocations: 10.09 kB / 0.7091 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.61, allocations: 3.281 kB / 0.7091 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007292/0.6108, allocations: 154.5 kB / 0.7093 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.6114, allocations: 157.6 kB / 0.7094 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009625/0.6124, allocations: 0.7119 MB / 0.7101 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.614, allocations: 162 kB / 0.7103 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.6142, allocations: 36.3 kB / 0.7103 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0013/0.6155, allocations: 0.5513 MB / 0.7108 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009196/0.6164, allocations: 496.3 kB / 0.7113 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001396/0.6178, allocations: 0.7032 MB / 0.712 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.6178, allocations: 0 / 0.712 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004954/0.6228, allocations: 1.261 MB / 0.7132 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6228, allocations: 10.47 kB / 0.7133 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6228, allocations: 2.344 kB / 0.7133 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.6235, allocations: 153 kB / 0.7134 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.6241, allocations: 151 kB / 0.7135 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009083/0.625, allocations: 0.7243 MB / 0.7143 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.6266, allocations: 139 kB / 0.7144 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.6267, allocations: 35.2 kB / 0.7144 GB, free: 4.449 MB / 0.5294 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.0003205/0.627, allocations: 221.8 kB / 0.7146 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.6273, allocations: 134.9 kB / 0.7148 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004844/0.6321, allocations: 1.262 MB / 0.716 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.6322, allocations: 11.62 kB / 0.716 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.6322, allocations: 0 / 0.716 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004113/0.6363, allocations: 1.091 MB / 0.7171 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/0.6416, allocations: 2.295 MB / 0.7193 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.6417, allocations: 10.33 kB / 0.7193 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.6422, allocations: 111 kB / 0.7194 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005912/0.6428, allocations: 146.8 kB / 0.7196 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.6428, allocations: 21.58 kB / 0.7196 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008316/0.6437, allocations: 0.7077 MB / 0.7203 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6437, allocations: 4.625 kB / 0.7203 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.6469, allocations: 1.405 MB / 0.7217 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.6478, allocations: 311.1 kB / 0.7219 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.648, allocations: 19.98 kB / 0.722 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.649, allocations: 75.89 kB / 0.722 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.6491, allocations: 60.19 kB / 0.7221 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/0.6492, allocations: 39.97 kB / 0.7221 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001513/0.6507, allocations: 0.874 MB / 0.723 GB, free: 13.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6507, allocations: 0 / 0.723 GB, free: 13.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00221/0.653, allocations: 0.7057 MB / 0.7237 GB, free: 13 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.6542, allocations: 458.2 kB / 0.7241 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003102/0.6573, allocations: 1.153 MB / 0.7252 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6573, allocations: 4 kB / 0.7252 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.6583, allocations: 403.2 kB / 0.7256 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/0.6623, allocations: 0.8037 MB / 0.7264 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.6671, allocations: 2.765 MB / 0.7291 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009165/0.668, allocations: 1.168 MB / 0.7303 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001402/0.6694, allocations: 314.2 kB / 0.7306 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.6697, allocations: 111.4 kB / 0.7307 GB, free: 5.785 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.6697, allocations: 0 / 0.7307 GB, free: 5.785 MB / 0.545 GB Notification: Performance of Templates: time 0.06134/0.7311, allocations: 31.44 MB / 0.7614 GB, free: 6.707 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)