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.006483/0.006484, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001308/0.001308, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8382/0.8382, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 60.47 kB / 0.5814 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1706, allocations: 80.22 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07517/0.2458, allocations: 75.21 MB / 0.7331 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3897/0.6355, allocations: 15.13 MB / 0.7479 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.6382, allocations: 68.66 kB / 0.748 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.6406, allocations: 0.8514 MB / 0.7488 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.6478, allocations: 2.716 MB / 0.7515 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.651, allocations: 1.391 MB / 0.7528 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006674/0.6577, allocations: 4.407 MB / 0.7571 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/0.6607, allocations: 1.447 MB / 0.7585 GB, free: 25.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006372/0.667, allocations: 1.681 MB / 0.7602 GB, free: 25.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.6698, allocations: 1.226 MB / 0.7614 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004508/0.6702, allocations: 162.8 kB / 0.7615 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.6749, allocations: 1.424 MB / 0.7629 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.6755, allocations: 401 kB / 0.7633 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.6769, allocations: 0.9084 MB / 0.7642 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.6823, allocations: 2.891 MB / 0.767 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6823, allocations: 1.531 kB / 0.767 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6823, allocations: 0.5938 kB / 0.767 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.406e-05/0.6823, allocations: 1.781 kB / 0.767 GB, free: 24.8 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.004034/0.6864, allocations: 2.1 MB / 0.7691 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6864, allocations: 10.25 kB / 0.7691 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.6873, allocations: 227.4 kB / 0.7693 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.69, allocations: 1.54 MB / 0.7708 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.6901, allocations: 77.47 kB / 0.7709 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.6903, allocations: 100 kB / 0.771 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.6924, allocations: 1.102 MB / 0.7721 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.6925, allocations: 1.219 kB / 0.7721 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/0.6926, allocations: 40.31 kB / 0.7721 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.6926, allocations: 24.69 kB / 0.7721 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.6944, allocations: 0.8964 MB / 0.773 GB, free: 23.07 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.006361/0.7008, allocations: 4.913 MB / 0.7778 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.7022, allocations: 0.6148 MB / 0.7784 GB, free: 20.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.7029, allocations: 355.1 kB / 0.7787 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/0.7034, allocations: 0.8384 MB / 0.7796 GB, free: 19.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7035, allocations: 42.91 kB / 0.7796 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.835e-06/0.7035, allocations: 0 / 0.7796 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.004834/0.7083, allocations: 1.403 MB / 0.781 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.7084, allocations: 58.66 kB / 0.781 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.7103, allocations: 1.233 MB / 0.7822 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/0.7104, allocations: 39.14 kB / 0.7823 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.7109, allocations: 0.6124 MB / 0.7829 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.711, allocations: 209.4 kB / 0.7831 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.7113, allocations: 157.7 kB / 0.7832 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.7114, allocations: 338.2 kB / 0.7835 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.712, allocations: 286.4 kB / 0.7838 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.7127, allocations: 0.4889 MB / 0.7843 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.714, allocations: 0.7029 MB / 0.785 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.714, allocations: 10.88 kB / 0.785 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004245/0.7182, allocations: 1.264 MB / 0.7862 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7183, allocations: 5.938 kB / 0.7862 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7183, allocations: 4.5 kB / 0.7862 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006922/0.719, allocations: 158.5 kB / 0.7864 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.7196, allocations: 157.6 kB / 0.7865 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007319/0.7204, allocations: 0.7117 MB / 0.7872 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.7216, allocations: 114.7 kB / 0.7873 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.7217, allocations: 38.95 kB / 0.7874 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001135/0.7229, allocations: 0.5595 MB / 0.7879 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006758/0.7236, allocations: 0.4887 MB / 0.7884 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001203/0.7248, allocations: 0.6979 MB / 0.7891 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.7248, allocations: 0 / 0.7891 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004267/0.7291, allocations: 1.267 MB / 0.7903 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.7291, allocations: 8 kB / 0.7903 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7291, allocations: 3.188 kB / 0.7903 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.7297, allocations: 152.6 kB / 0.7905 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.7303, allocations: 157.1 kB / 0.7906 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/0.731, allocations: 0.7244 MB / 0.7913 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.7322, allocations: 97.14 kB / 0.7914 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.7323, allocations: 34.73 kB / 0.7914 GB, free: 13.82 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.0003385/0.7327, allocations: 229 kB / 0.7917 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.7329, allocations: 136.6 kB / 0.7918 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.737, allocations: 1.255 MB / 0.793 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.7371, allocations: 9.312 kB / 0.793 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.7371, allocations: 4 kB / 0.793 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003603/0.7407, allocations: 1.091 MB / 0.7941 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.7448, allocations: 2.309 MB / 0.7964 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.7449, allocations: 3.312 kB / 0.7964 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.7453, allocations: 117.6 kB / 0.7965 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/0.7459, allocations: 150.5 kB / 0.7966 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.7459, allocations: 18.41 kB / 0.7966 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006429/0.7466, allocations: 0.708 MB / 0.7973 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7466, allocations: 4.438 kB / 0.7973 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.7489, allocations: 1.399 MB / 0.7987 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.7494, allocations: 316.1 kB / 0.799 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.7496, allocations: 23.22 kB / 0.799 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/0.7504, allocations: 52.25 kB / 0.7991 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7505, allocations: 58 kB / 0.7991 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.7506, allocations: 34.12 kB / 0.7992 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001095/0.7517, allocations: 0.8864 MB / 0.8 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7517, allocations: 0 / 0.8 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002254/0.7539, allocations: 0.7108 MB / 0.8007 GB, free: 8.023 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.0009132/0.7549, allocations: 461.2 kB / 0.8012 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.7571, allocations: 1.123 MB / 0.8023 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7572, allocations: 0 / 0.8023 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/0.758, allocations: 404.8 kB / 0.8026 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.761, allocations: 0.8005 MB / 0.8034 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.7643, allocations: 2.279 MB / 0.8056 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.7648, allocations: 1.168 MB / 0.8068 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001016/0.7658, allocations: 305.9 kB / 0.8071 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.766, allocations: 111.4 kB / 0.8072 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of SimCode: time 1.633e-06/0.7661, allocations: 0 / 0.8072 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of Templates: time 0.0547/0.8208, allocations: 32.24 MB / 0.8387 GB, free: 3.32 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)