Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 86.72 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.001155/0.001156, 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.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.742/0.742, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 12.62 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3476, allocations: 81.58 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06302/0.4106, allocations: 69.44 MB / 0.6509 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.4277, allocations: 14.16 MB / 0.6647 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.4295, allocations: 63.56 kB / 0.6648 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.4312, allocations: 0.5588 MB / 0.6653 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004931/0.4362, allocations: 1.986 MB / 0.6673 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.4388, allocations: 0.9698 MB / 0.6682 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005112/0.4439, allocations: 4.809 MB / 0.6729 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.4456, allocations: 1.021 MB / 0.6739 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.4479, allocations: 1.271 MB / 0.6751 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.4497, allocations: 1.093 MB / 0.6762 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.4499, allocations: 56 kB / 0.6763 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.4521, allocations: 0.9161 MB / 0.6772 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.4525, allocations: 274.6 kB / 0.6774 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.453, allocations: 360.9 kB / 0.6778 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.4551, allocations: 2.073 MB / 0.6798 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4551, allocations: 0 / 0.6798 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4551, allocations: 0 / 0.6798 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.4551, allocations: 0 / 0.6798 GB, free: 13.28 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.002855/0.458, allocations: 1.808 MB / 0.6816 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.458, allocations: 8.031 kB / 0.6816 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006848/0.4587, allocations: 249.8 kB / 0.6818 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.4608, allocations: 1.431 MB / 0.6832 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.4609, allocations: 81.98 kB / 0.6833 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.461, allocations: 104 kB / 0.6834 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.4629, allocations: 1.108 MB / 0.6845 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.463, allocations: 0 / 0.6845 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.4631, allocations: 36 kB / 0.6845 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.4631, allocations: 39.98 kB / 0.6845 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.4649, allocations: 0.9251 MB / 0.6854 GB, free: 7.34 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.005172/0.4701, allocations: 4.911 MB / 0.6902 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.4715, allocations: 0.6361 MB / 0.6909 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006953/0.4722, allocations: 363.1 kB / 0.6912 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.4728, allocations: 0.8277 MB / 0.692 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4728, allocations: 39.12 kB / 0.692 GB, free: 84 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 1.864e-06/0.4728, allocations: 7.938 kB / 0.6921 GB, free: 76 kB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006468/0.4793, allocations: 1.892 MB / 0.6939 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4793, allocations: 63.91 kB / 0.694 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.4807, allocations: 1.198 MB / 0.6951 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.4808, allocations: 41.7 kB / 0.6952 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.4813, allocations: 0.6103 MB / 0.6958 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.4815, allocations: 209 kB / 0.696 GB, free: 12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.4815, allocations: 16 kB / 0.696 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4816, allocations: 330 kB / 0.6963 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006274/0.4823, allocations: 297.8 kB / 0.6966 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.483, allocations: 0.5123 MB / 0.6971 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006961/0.4838, allocations: 359 kB / 0.6974 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4838, allocations: 4 kB / 0.6974 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00419/0.488, allocations: 1.39 MB / 0.6988 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.4881, allocations: 206.2 kB / 0.699 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4881, allocations: 4 kB / 0.699 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.4886, allocations: 140.8 kB / 0.6991 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.4892, allocations: 167.8 kB / 0.6993 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008005/0.49, allocations: 0.7163 MB / 0.7 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/0.491, allocations: 167.1 kB / 0.7001 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.4911, allocations: 27.98 kB / 0.7002 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.4911, allocations: 4 kB / 0.7002 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003978/0.4951, allocations: 1.253 MB / 0.7014 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4951, allocations: 4 kB / 0.7014 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.4956, allocations: 149 kB / 0.7015 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.4961, allocations: 167.8 kB / 0.7017 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007148/0.4969, allocations: 0.7149 MB / 0.7024 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/0.4978, allocations: 155.1 kB / 0.7025 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.4978, allocations: 35.98 kB / 0.7026 GB, free: 5.027 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.000526/0.4984, allocations: 420.8 kB / 0.703 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.4985, allocations: 134.4 kB / 0.7031 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.5027, allocations: 1.4 MB / 0.7045 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.5027, allocations: 4 kB / 0.7045 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5027, allocations: 4 kB / 0.7045 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003707/0.5065, allocations: 1.24 MB / 0.7057 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005665/0.5121, allocations: 2.739 MB / 0.7084 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5121, allocations: 4 kB / 0.7084 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.5126, allocations: 123.8 kB / 0.7085 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.5131, allocations: 141.1 kB / 0.7086 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.5131, allocations: 23.98 kB / 0.7087 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/0.5173, allocations: 2.478 MB / 0.7111 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5174, allocations: 4 kB / 0.7111 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004594/0.522, allocations: 1.848 MB / 0.7129 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.5224, allocations: 331.1 kB / 0.7132 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5226, allocations: 19.98 kB / 0.7132 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/0.5234, allocations: 91.91 kB / 0.7133 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.5235, allocations: 56.27 kB / 0.7134 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.5236, allocations: 35.97 kB / 0.7134 GB, free: 9.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001101/0.5247, allocations: 0.8546 MB / 0.7142 GB, free: 8.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5247, allocations: 3.938 kB / 0.7142 GB, free: 8.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001649/0.5263, allocations: 0.7134 MB / 0.7149 GB, free: 7.969 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 (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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006893/0.527, allocations: 432.8 kB / 0.7153 GB, free: 7.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.5293, allocations: 1.157 MB / 0.7165 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5293, allocations: 0 / 0.7165 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.5307, allocations: 0.5995 MB / 0.7171 GB, free: 5.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.5337, allocations: 0.7505 MB / 0.7178 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.5372, allocations: 2.764 MB / 0.7205 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/0.5378, allocations: 1.179 MB / 0.7216 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001044/0.5389, allocations: 308.7 kB / 0.7219 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.5391, allocations: 111.3 kB / 0.722 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5391, allocations: 0 / 0.722 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of Templates: time 0.04366/0.5828, allocations: 29.41 MB / 0.7508 GB, free: 3.566 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)