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.007945/0.007945, allocations: 101 kB / 15.73 MB, free: 6.043 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.001769/0.001769, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.968/0.968, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.5857 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4015, allocations: 80.91 MB / 0.6647 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.08247/0.4841, allocations: 75.2 MB / 0.7381 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02439/0.5085, allocations: 15.14 MB / 0.7529 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003603/0.5122, allocations: 67.62 kB / 0.753 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003107/0.5153, allocations: 0.8502 MB / 0.7538 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008447/0.5238, allocations: 2.722 MB / 0.7565 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.5278, allocations: 1.395 MB / 0.7578 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00763/0.5354, allocations: 4.404 MB / 0.7621 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.5384, allocations: 1.449 MB / 0.7635 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004655/0.5431, allocations: 1.678 MB / 0.7652 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.5456, allocations: 1.225 MB / 0.7664 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005439/0.5462, allocations: 164 kB / 0.7665 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.5498, allocations: 1.419 MB / 0.7679 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006825/0.5505, allocations: 402.6 kB / 0.7683 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.5523, allocations: 0.906 MB / 0.7692 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006165/0.5584, allocations: 2.892 MB / 0.772 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5585, allocations: 0 / 0.772 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5585, allocations: 0 / 0.772 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.271e-05/0.5586, allocations: 0 / 0.772 GB, free: 3.41 MB / 0.5919 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.004904/0.5635, allocations: 2.102 MB / 0.7741 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5635, allocations: 8.031 kB / 0.7741 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/0.5645, allocations: 226.9 kB / 0.7743 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.5672, allocations: 1.535 MB / 0.7758 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.5673, allocations: 78 kB / 0.7759 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.5675, allocations: 100 kB / 0.7759 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.5696, allocations: 1.104 MB / 0.777 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.5696, allocations: 7.938 kB / 0.777 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5697, allocations: 43.94 kB / 0.7771 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.5698, allocations: 27.98 kB / 0.7771 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.5719, allocations: 0.89 MB / 0.778 GB, free: 13.14 MB / 0.6075 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.007061/0.579, allocations: 4.915 MB / 0.7828 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5806, allocations: 0.6321 MB / 0.7834 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.5814, allocations: 347.1 kB / 0.7837 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/0.5821, allocations: 0.8355 MB / 0.7845 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.5822, allocations: 35.12 kB / 0.7846 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.5822, allocations: 0 / 0.7846 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.005087/0.5873, allocations: 1.405 MB / 0.7859 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.5874, allocations: 59.95 kB / 0.786 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.5892, allocations: 1.23 MB / 0.7872 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.5893, allocations: 41.7 kB / 0.7872 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.5899, allocations: 0.5987 MB / 0.7878 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.5901, allocations: 216.9 kB / 0.788 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.5903, allocations: 162.5 kB / 0.7882 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5905, allocations: 333.9 kB / 0.7885 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.5912, allocations: 288.7 kB / 0.7888 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009185/0.5921, allocations: 0.4959 MB / 0.7893 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.5937, allocations: 0.7004 MB / 0.7899 GB, free: 192 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5937, allocations: 4 kB / 0.79 GB, free: 188 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004953/0.5986, allocations: 1.269 MB / 0.7912 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5987, allocations: 4 kB / 0.7912 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5987, allocations: 4 kB / 0.7912 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000739/0.5994, allocations: 161 kB / 0.7914 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.6001, allocations: 151.8 kB / 0.7915 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009526/0.601, allocations: 0.7199 MB / 0.7922 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.6022, allocations: 119.1 kB / 0.7923 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/0.6023, allocations: 31.98 kB / 0.7923 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001228/0.6035, allocations: 0.5503 MB / 0.7929 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000886/0.6044, allocations: 499.8 kB / 0.7934 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001512/0.606, allocations: 0.7043 MB / 0.794 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.606, allocations: 0 / 0.794 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005017/0.611, allocations: 1.273 MB / 0.7953 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.611, allocations: 4 kB / 0.7953 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.6111, allocations: 4 kB / 0.7953 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006639/0.6117, allocations: 153.1 kB / 0.7954 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.6124, allocations: 163.7 kB / 0.7956 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008706/0.6133, allocations: 0.7123 MB / 0.7963 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.6145, allocations: 95.45 kB / 0.7964 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.6146, allocations: 35.98 kB / 0.7964 GB, free: 9.359 MB / 0.6231 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.0002764/0.6149, allocations: 232 kB / 0.7966 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.6153, allocations: 138.3 kB / 0.7968 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/0.6202, allocations: 1.256 MB / 0.798 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.6203, allocations: 8 kB / 0.798 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6203, allocations: 0 / 0.798 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0042/0.6245, allocations: 1.092 MB / 0.7991 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.629, allocations: 2.306 MB / 0.8013 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.629, allocations: 4.438 kB / 0.8013 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.6295, allocations: 115.8 kB / 0.8014 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000573/0.6301, allocations: 156.6 kB / 0.8016 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.6302, allocations: 16 kB / 0.8016 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007821/0.6309, allocations: 0.7085 MB / 0.8023 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.631, allocations: 7.938 kB / 0.8023 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.6339, allocations: 1.395 MB / 0.8037 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007478/0.6347, allocations: 311.2 kB / 0.804 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.635, allocations: 20.06 kB / 0.804 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.636, allocations: 51.88 kB / 0.804 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6361, allocations: 56.25 kB / 0.8041 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/0.6362, allocations: 39.97 kB / 0.8041 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001299/0.6375, allocations: 0.8857 MB / 0.805 GB, free: 304 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6375, allocations: 0 / 0.805 GB, free: 304 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002011/0.6395, allocations: 0.7096 MB / 0.8057 GB, free: 15.59 MB / 0.6387 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.001093/0.6406, allocations: 473.5 kB / 0.8061 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002845/0.6435, allocations: 1.129 MB / 0.8072 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6435, allocations: 0 / 0.8072 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.6444, allocations: 395.3 kB / 0.8076 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.6481, allocations: 0.7943 MB / 0.8084 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.6525, allocations: 2.292 MB / 0.8106 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009873/0.6535, allocations: 1.168 MB / 0.8118 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001129/0.6546, allocations: 303.2 kB / 0.8121 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.6549, allocations: 111.4 kB / 0.8122 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.6549, allocations: 0 / 0.8122 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of Templates: time 0.05239/0.7073, allocations: 32.24 MB / 0.8436 GB, free: 8.941 MB / 0.67 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)