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.001341/0.001341, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001418, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9749/0.9749, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 68.64 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1791, allocations: 80.92 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.4108/0.5899, allocations: 74.74 MB / 0.6573 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.6105, allocations: 15.2 MB / 0.6722 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.614, allocations: 59.81 kB / 0.6722 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.6166, allocations: 0.6766 MB / 0.6729 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00826/0.6248, allocations: 2.376 MB / 0.6752 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.6288, allocations: 1.265 MB / 0.6764 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009288/0.6381, allocations: 5.555 MB / 0.6819 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.6409, allocations: 1.2 MB / 0.683 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.645, allocations: 1.374 MB / 0.6844 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003284/0.6483, allocations: 1.195 MB / 0.6856 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.6488, allocations: 77 kB / 0.6856 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004103/0.6529, allocations: 1.283 MB / 0.6869 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000514/0.6534, allocations: 319.2 kB / 0.6872 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.6551, allocations: 0.8132 MB / 0.688 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.6595, allocations: 2.21 MB / 0.6901 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6596, allocations: 0 / 0.6901 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6596, allocations: 0 / 0.6901 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.292e-05/0.6597, allocations: 1.438 kB / 0.6901 GB, free: 4.348 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.005683/0.6654, allocations: 2.097 MB / 0.6922 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6654, allocations: 10.09 kB / 0.6922 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.6663, allocations: 235.6 kB / 0.6924 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.6692, allocations: 1.499 MB / 0.6939 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.6693, allocations: 75.47 kB / 0.694 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.6694, allocations: 109.9 kB / 0.6941 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.6718, allocations: 1.1 MB / 0.6951 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.6718, allocations: 1.125 kB / 0.6951 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/0.6719, allocations: 37.88 kB / 0.6952 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.672, allocations: 33.36 kB / 0.6952 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.674, allocations: 0.892 MB / 0.6961 GB, free: 1.043 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.007204/0.6812, allocations: 4.906 MB / 0.7009 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.6827, allocations: 0.6188 MB / 0.7015 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/0.6834, allocations: 354.1 kB / 0.7018 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006385/0.6841, allocations: 0.8265 MB / 0.7026 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.6841, allocations: 42.62 kB / 0.7027 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.885e-06/0.6841, allocations: 5.094 kB / 0.7027 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004927/0.6891, allocations: 1.396 MB / 0.704 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.6891, allocations: 58 kB / 0.7041 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.6911, allocations: 1.216 MB / 0.7053 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.6913, allocations: 43.64 kB / 0.7053 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005444/0.6918, allocations: 0.6063 MB / 0.7059 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.6921, allocations: 218.9 kB / 0.7061 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.6924, allocations: 154.9 kB / 0.7063 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6925, allocations: 340 kB / 0.7066 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/0.6932, allocations: 289.2 kB / 0.7069 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/0.6941, allocations: 490.8 kB / 0.7073 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.6956, allocations: 0.7129 MB / 0.708 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6956, allocations: 1.375 kB / 0.708 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005119/0.7007, allocations: 1.269 MB / 0.7093 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.7008, allocations: 9.5 kB / 0.7093 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.7008, allocations: 3.406 kB / 0.7093 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007722/0.7016, allocations: 152.6 kB / 0.7094 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.7023, allocations: 164.1 kB / 0.7096 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008986/0.7032, allocations: 0.7093 MB / 0.7103 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.7049, allocations: 162.4 kB / 0.7104 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/0.7051, allocations: 36.23 kB / 0.7105 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001362/0.7064, allocations: 0.5559 MB / 0.711 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008242/0.7073, allocations: 496.3 kB / 0.7115 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001348/0.7086, allocations: 0.6986 MB / 0.7122 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.7086, allocations: 0 / 0.7122 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004831/0.7135, allocations: 1.261 MB / 0.7134 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7135, allocations: 9.594 kB / 0.7134 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7135, allocations: 4.688 kB / 0.7134 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.7141, allocations: 152.2 kB / 0.7135 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.7148, allocations: 150.4 kB / 0.7137 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008747/0.7156, allocations: 0.722 MB / 0.7144 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.7173, allocations: 136 kB / 0.7145 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/0.7174, allocations: 35.36 kB / 0.7146 GB, free: 5.137 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.0003209/0.7177, allocations: 221.8 kB / 0.7148 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.718, allocations: 134.9 kB / 0.7149 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/0.7224, allocations: 1.262 MB / 0.7161 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.7224, allocations: 9.016 kB / 0.7161 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7225, allocations: 0 / 0.7161 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003758/0.7262, allocations: 1.091 MB / 0.7172 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.7312, allocations: 2.303 MB / 0.7195 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7313, allocations: 2.906 kB / 0.7195 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.7317, allocations: 118.5 kB / 0.7196 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005712/0.7323, allocations: 147.4 kB / 0.7197 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.7324, allocations: 22.61 kB / 0.7197 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000874/0.7332, allocations: 0.7076 MB / 0.7204 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.7333, allocations: 4 kB / 0.7204 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.7362, allocations: 1.399 MB / 0.7218 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/0.737, allocations: 315.1 kB / 0.7221 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.7372, allocations: 16.06 kB / 0.7221 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/0.7381, allocations: 87.81 kB / 0.7222 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.7383, allocations: 52.25 kB / 0.7222 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.7384, allocations: 35.97 kB / 0.7223 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001481/0.7399, allocations: 0.8701 MB / 0.7231 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7399, allocations: 4 kB / 0.7231 GB, free: 14.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002454/0.7423, allocations: 0.7057 MB / 0.7238 GB, free: 13.51 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.001137/0.7435, allocations: 451.1 kB / 0.7243 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.7463, allocations: 1.111 MB / 0.7253 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.7463, allocations: 4.125 kB / 0.7253 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.7473, allocations: 392.9 kB / 0.7257 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.7512, allocations: 0.7695 MB / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.7557, allocations: 2.801 MB / 0.7292 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009567/0.7567, allocations: 1.161 MB / 0.7303 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.7571, allocations: 111.4 kB / 0.7304 GB, free: 6.664 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.7571, allocations: 0 / 0.7304 GB, free: 6.664 MB / 0.545 GB Notification: Performance of Templates: time 0.04367/0.8008, allocations: 30.98 MB / 0.7607 GB, free: 7.879 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)