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.0007012/0.0007012, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.000826/0.0008261, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9986/0.9986, allocations: 135.3 MB / 426.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 11.98 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2034, allocations: 82.31 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.4045/0.608, allocations: 69.44 MB / 0.6552 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.626, allocations: 14.17 MB / 0.669 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/0.6292, allocations: 56.88 kB / 0.6691 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.6315, allocations: 0.5604 MB / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007511/0.639, allocations: 1.982 MB / 0.6716 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.6432, allocations: 0.9761 MB / 0.6725 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009752/0.653, allocations: 4.801 MB / 0.6772 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.656, allocations: 1.028 MB / 0.6782 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.6605, allocations: 1.283 MB / 0.6795 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00377/0.6643, allocations: 1.086 MB / 0.6805 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005378/0.6648, allocations: 56.03 kB / 0.6806 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.6691, allocations: 0.9362 MB / 0.6815 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006241/0.6697, allocations: 273 kB / 0.6817 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.6709, allocations: 356 kB / 0.6821 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.6756, allocations: 2.097 MB / 0.6841 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6756, allocations: 0 / 0.6841 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6756, allocations: 0 / 0.6841 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.346e-05/0.6757, allocations: 2 kB / 0.6841 GB, free: 10.43 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.005387/0.6811, allocations: 1.808 MB / 0.6859 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6811, allocations: 9.812 kB / 0.6859 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.6823, allocations: 244.3 kB / 0.6861 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.6859, allocations: 1.447 MB / 0.6876 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-05/0.686, allocations: 79.25 kB / 0.6876 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.6862, allocations: 110.4 kB / 0.6877 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.689, allocations: 1.109 MB / 0.6888 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.6891, allocations: 2 kB / 0.6888 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.6892, allocations: 42.31 kB / 0.6889 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/0.6892, allocations: 27.72 kB / 0.6889 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.6915, allocations: 0.9255 MB / 0.6898 GB, free: 7.375 MB / 0.5137 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.008535/0.7001, allocations: 4.92 MB / 0.6946 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.7016, allocations: 0.6307 MB / 0.6952 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.7024, allocations: 369.6 kB / 0.6956 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008093/0.7032, allocations: 0.8295 MB / 0.6964 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.7033, allocations: 41.08 kB / 0.6964 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.535e-06/0.7033, allocations: 0 / 0.6964 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.005163/0.7085, allocations: 1.519 MB / 0.6979 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.7085, allocations: 58.53 kB / 0.6979 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.7107, allocations: 1.207 MB / 0.6991 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.7109, allocations: 51.86 kB / 0.6992 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/0.7115, allocations: 0.6057 MB / 0.6998 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.7117, allocations: 214.2 kB / 0.7 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.7118, allocations: 15.78 kB / 0.7 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7119, allocations: 333 kB / 0.7003 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.7126, allocations: 295.5 kB / 0.7006 GB, free: 424 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008473/0.7135, allocations: 0.5081 MB / 0.7011 GB, free: 88 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.7143, allocations: 363 kB / 0.7014 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.7143, allocations: 1.312 kB / 0.7014 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004602/0.7189, allocations: 1.39 MB / 0.7028 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.7191, allocations: 191 kB / 0.703 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.7191, allocations: 3.781 kB / 0.703 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000804/0.7199, allocations: 163.7 kB / 0.7031 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.7206, allocations: 163.6 kB / 0.7033 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009823/0.7216, allocations: 0.7316 MB / 0.704 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.7233, allocations: 167 kB / 0.7042 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/0.7235, allocations: 31.48 kB / 0.7042 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7235, allocations: 6.438 kB / 0.7042 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004127/0.7276, allocations: 1.243 MB / 0.7054 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7276, allocations: 3.844 kB / 0.7054 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.7282, allocations: 167.6 kB / 0.7056 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.7288, allocations: 165.9 kB / 0.7057 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007935/0.7296, allocations: 0.7261 MB / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.7312, allocations: 167.1 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.7313, allocations: 34.91 kB / 0.7066 GB, free: 12.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009876/0.7323, allocations: 418.9 kB / 0.707 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.7326, allocations: 131.3 kB / 0.7072 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.7369, allocations: 1.402 MB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.7369, allocations: 9.781 kB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.737, allocations: 0 / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003606/0.7406, allocations: 1.218 MB / 0.7097 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004766/0.7454, allocations: 2.343 MB / 0.712 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.7454, allocations: 7.531 kB / 0.712 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.7459, allocations: 121.9 kB / 0.7121 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.7465, allocations: 154.8 kB / 0.7123 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.7465, allocations: 21.48 kB / 0.7123 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008021/0.7473, allocations: 0.7124 MB / 0.713 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.7474, allocations: 13.67 kB / 0.713 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.7501, allocations: 1.446 MB / 0.7144 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008313/0.7509, allocations: 334.6 kB / 0.7147 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.7511, allocations: 15.28 kB / 0.7148 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/0.752, allocations: 102.5 kB / 0.7149 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.7521, allocations: 51.44 kB / 0.7149 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.7522, allocations: 29.3 kB / 0.7149 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001303/0.7535, allocations: 0.8657 MB / 0.7158 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.2e-07/0.7535, allocations: 0 / 0.7158 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002089/0.7556, allocations: 0.7006 MB / 0.7165 GB, free: 6.797 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009455/0.7565, allocations: 446.2 kB / 0.7169 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.7591, allocations: 1.164 MB / 0.718 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7591, allocations: 0 / 0.718 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.76, allocations: 425 kB / 0.7184 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/0.7636, allocations: 0.7457 MB / 0.7192 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.7681, allocations: 2.786 MB / 0.7219 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/0.7689, allocations: 1.172 MB / 0.723 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001399/0.7703, allocations: 303.5 kB / 0.7233 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.7706, allocations: 111.4 kB / 0.7234 GB, free: 212 kB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.7706, allocations: 0 / 0.7234 GB, free: 212 kB / 0.5294 GB Notification: Performance of Templates: time 0.05171/0.8223, allocations: 29.27 MB / 0.752 GB, free: 3.266 MB / 0.5606 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)