Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001235/0.001235, allocations: 105 kB / 16.41 MB, free: 6.457 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.001196/0.001196, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8102/0.8102, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.16 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07375/0.2292, allocations: 75.2 MB / 0.7338 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4426/0.6718, allocations: 15.13 MB / 0.7486 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.6748, allocations: 66.62 kB / 0.7486 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.6774, allocations: 0.8338 MB / 0.7495 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008216/0.6857, allocations: 2.58 MB / 0.752 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.6896, allocations: 1.39 MB / 0.7533 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008644/0.6983, allocations: 4.407 MB / 0.7576 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.7016, allocations: 1.438 MB / 0.759 GB, free: 25.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005688/0.7073, allocations: 1.676 MB / 0.7607 GB, free: 25.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.7108, allocations: 1.22 MB / 0.7619 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.7113, allocations: 163.4 kB / 0.762 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.7159, allocations: 1.425 MB / 0.7634 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.7164, allocations: 399.9 kB / 0.7638 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.718, allocations: 0.907 MB / 0.7647 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005493/0.7235, allocations: 2.897 MB / 0.7675 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7235, allocations: 0.5312 kB / 0.7675 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7235, allocations: 0 / 0.7675 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.688e-05/0.7236, allocations: 0.625 kB / 0.7675 GB, free: 24.84 MB / 0.5762 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.004344/0.7279, allocations: 2.094 MB / 0.7696 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.728, allocations: 14 kB / 0.7696 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008764/0.7289, allocations: 232.1 kB / 0.7698 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.7313, allocations: 1.536 MB / 0.7713 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.7314, allocations: 75.56 kB / 0.7714 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.7316, allocations: 105.6 kB / 0.7715 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.7337, allocations: 1.1 MB / 0.7725 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.7337, allocations: 4.281 kB / 0.7725 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.7338, allocations: 43.69 kB / 0.7726 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.7339, allocations: 25.22 kB / 0.7726 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.7358, allocations: 0.8939 MB / 0.7735 GB, free: 23.11 MB / 0.5762 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.005791/0.7416, allocations: 4.913 MB / 0.7783 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7431, allocations: 0.6208 MB / 0.7789 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.7438, allocations: 351.3 kB / 0.7792 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.7443, allocations: 0.8322 MB / 0.78 GB, free: 19.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.7443, allocations: 45.44 kB / 0.7801 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.154e-06/0.7443, allocations: 0 / 0.7801 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.004751/0.7491, allocations: 1.402 MB / 0.7814 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.7491, allocations: 62.53 kB / 0.7815 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.7508, allocations: 1.231 MB / 0.7827 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.7508, allocations: 39.39 kB / 0.7827 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.7513, allocations: 0.6058 MB / 0.7833 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.7514, allocations: 216.5 kB / 0.7835 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.7517, allocations: 158.3 kB / 0.7837 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.7518, allocations: 332.2 kB / 0.784 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.7524, allocations: 293.1 kB / 0.7843 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.7531, allocations: 498.6 kB / 0.7848 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.7544, allocations: 0.7107 MB / 0.7855 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.7544, allocations: 6.438 kB / 0.7855 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004552/0.759, allocations: 1.267 MB / 0.7867 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.759, allocations: 5.75 kB / 0.7867 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.759, allocations: 2.875 kB / 0.7867 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007358/0.7598, allocations: 156.6 kB / 0.7869 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.7604, allocations: 157.4 kB / 0.787 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000796/0.7612, allocations: 0.7121 MB / 0.7877 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.7626, allocations: 115.9 kB / 0.7878 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.7627, allocations: 34.69 kB / 0.7879 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001453/0.7641, allocations: 0.5611 MB / 0.7884 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009278/0.7651, allocations: 491.9 kB / 0.7889 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001327/0.7664, allocations: 0.6994 MB / 0.7896 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.7664, allocations: 2.406 kB / 0.7896 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004589/0.771, allocations: 1.268 MB / 0.7908 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.771, allocations: 5 kB / 0.7908 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7711, allocations: 6.781 kB / 0.7908 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.7716, allocations: 154.6 kB / 0.791 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.7722, allocations: 151.1 kB / 0.7911 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006728/0.7729, allocations: 0.7163 MB / 0.7918 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.7742, allocations: 107.1 kB / 0.7919 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.7742, allocations: 27.72 kB / 0.7919 GB, free: 13.97 MB / 0.5762 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.0002691/0.7745, allocations: 233.9 kB / 0.7921 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.7747, allocations: 137 kB / 0.7923 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.7791, allocations: 1.257 MB / 0.7935 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.7791, allocations: 9.562 kB / 0.7935 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7792, allocations: 0 / 0.7935 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003733/0.7829, allocations: 1.088 MB / 0.7946 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.7867, allocations: 2.315 MB / 0.7968 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7867, allocations: 2.656 kB / 0.7968 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.7872, allocations: 110.6 kB / 0.7969 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/0.7877, allocations: 162.7 kB / 0.7971 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.7878, allocations: 21.89 kB / 0.7971 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/0.7884, allocations: 0.7069 MB / 0.7978 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7884, allocations: 3 kB / 0.7978 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.7909, allocations: 1.4 MB / 0.7992 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.7915, allocations: 306.9 kB / 0.7995 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.7917, allocations: 16.62 kB / 0.7995 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/0.7925, allocations: 56.36 kB / 0.7995 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.7927, allocations: 53.47 kB / 0.7996 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.7927, allocations: 35.3 kB / 0.7996 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001216/0.7939, allocations: 0.8854 MB / 0.8005 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.794, allocations: 4 kB / 0.8005 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002157/0.7961, allocations: 0.711 MB / 0.8012 GB, free: 8.18 MB / 0.5762 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.001069/0.7972, allocations: 474.1 kB / 0.8016 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.7997, allocations: 1.118 MB / 0.8027 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.7997, allocations: 0 / 0.8027 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.8005, allocations: 399.8 kB / 0.8031 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/0.8041, allocations: 0.8013 MB / 0.8039 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.8076, allocations: 2.317 MB / 0.8062 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.8081, allocations: 1.168 MB / 0.8073 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.8084, allocations: 107.4 kB / 0.8074 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.8084, allocations: 0 / 0.8074 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of Templates: time 0.03947/0.8479, allocations: 31.35 MB / 0.838 GB, free: 4.453 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)