Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001052/0.001052, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001088/0.001088, allocations: 191 kB / 17.3 MB, free: 5.613 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.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7531/0.7531, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2847, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05877/0.3435, allocations: 75.2 MB / 0.6592 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.3619, allocations: 15.15 MB / 0.674 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3639, allocations: 63.62 kB / 0.674 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.3657, allocations: 0.8383 MB / 0.6749 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005841/0.3716, allocations: 2.577 MB / 0.6774 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.3748, allocations: 1.398 MB / 0.6787 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005468/0.3803, allocations: 4.393 MB / 0.683 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.3821, allocations: 1.445 MB / 0.6844 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.3851, allocations: 1.63 MB / 0.686 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3867, allocations: 1.221 MB / 0.6872 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.3869, allocations: 164 kB / 0.6874 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.3895, allocations: 1.404 MB / 0.6888 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.3899, allocations: 398.6 kB / 0.6891 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009905/0.3909, allocations: 0.906 MB / 0.69 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.3948, allocations: 2.863 MB / 0.6928 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3948, allocations: 0 / 0.6928 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.727e-06/0.3948, allocations: 0 / 0.6928 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.73e-05/0.3948, allocations: 7.938 kB / 0.6928 GB, free: 12.63 MB / 0.5294 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.003469/0.3983, allocations: 2.079 MB / 0.6949 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3984, allocations: 13.05 kB / 0.6949 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.3991, allocations: 234.8 kB / 0.6951 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.4016, allocations: 1.52 MB / 0.6966 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.4017, allocations: 78 kB / 0.6967 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.4018, allocations: 100 kB / 0.6968 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.4036, allocations: 1.096 MB / 0.6978 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.4037, allocations: 0 / 0.6978 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/0.4038, allocations: 40 kB / 0.6979 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.4038, allocations: 31.94 kB / 0.6979 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.4056, allocations: 0.8861 MB / 0.6988 GB, free: 6.402 MB / 0.5294 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.006093/0.4117, allocations: 4.911 MB / 0.7036 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.4132, allocations: 0.6211 MB / 0.7042 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.4139, allocations: 350.3 kB / 0.7045 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006798/0.4146, allocations: 0.8238 MB / 0.7053 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4146, allocations: 43.12 kB / 0.7053 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.645e-06/0.4146, allocations: 0 / 0.7053 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.00646/0.4211, allocations: 1.697 MB / 0.707 GB, free: 13.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.4212, allocations: 63.91 kB / 0.7071 GB, free: 13.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.4228, allocations: 1.226 MB / 0.7083 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.751e-05/0.4229, allocations: 45.7 kB / 0.7083 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.4234, allocations: 0.5988 MB / 0.7089 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.4236, allocations: 220.8 kB / 0.7091 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.4238, allocations: 150.6 kB / 0.7092 GB, free: 11.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.424, allocations: 337.9 kB / 0.7096 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.4246, allocations: 288.7 kB / 0.7098 GB, free: 10.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/0.4254, allocations: 0.4989 MB / 0.7103 GB, free: 9.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.4266, allocations: 0.7012 MB / 0.711 GB, free: 9.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4267, allocations: 4 kB / 0.711 GB, free: 9.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004174/0.4308, allocations: 1.277 MB / 0.7123 GB, free: 7.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4309, allocations: 4 kB / 0.7123 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4309, allocations: 4 kB / 0.7123 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.4315, allocations: 142.6 kB / 0.7124 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.4321, allocations: 155.8 kB / 0.7125 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007916/0.4329, allocations: 0.7083 MB / 0.7132 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.4339, allocations: 115.1 kB / 0.7133 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.434, allocations: 31.98 kB / 0.7134 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001022/0.435, allocations: 0.5566 MB / 0.7139 GB, free: 6.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007428/0.4357, allocations: 496.7 kB / 0.7144 GB, free: 5.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001238/0.437, allocations: 0.7051 MB / 0.7151 GB, free: 4.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.107e-06/0.437, allocations: 4 kB / 0.7151 GB, free: 4.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004131/0.4411, allocations: 1.273 MB / 0.7163 GB, free: 3.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4412, allocations: 8 kB / 0.7163 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4412, allocations: 7.938 kB / 0.7163 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.4416, allocations: 138.1 kB / 0.7165 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.4422, allocations: 159.8 kB / 0.7166 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007402/0.4429, allocations: 0.6967 MB / 0.7173 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/0.4439, allocations: 99.52 kB / 0.7174 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.444, allocations: 31.98 kB / 0.7174 GB, free: 2.348 MB / 0.545 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 (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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.4442, allocations: 233.9 kB / 0.7177 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.4444, allocations: 134.4 kB / 0.7178 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.4485, allocations: 1.266 MB / 0.719 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4486, allocations: 7.984 kB / 0.719 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4486, allocations: 0 / 0.719 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003572/0.4521, allocations: 1.103 MB / 0.7201 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.4579, allocations: 2.63 MB / 0.7227 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4579, allocations: 4 kB / 0.7227 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.4584, allocations: 107.9 kB / 0.7228 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.4588, allocations: 128.8 kB / 0.7229 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.4589, allocations: 19.98 kB / 0.7229 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.4634, allocations: 2.634 MB / 0.7255 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4634, allocations: 4 kB / 0.7255 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/0.4681, allocations: 1.695 MB / 0.7272 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.4687, allocations: 311.2 kB / 0.7275 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.4689, allocations: 16.09 kB / 0.7275 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.4696, allocations: 55.94 kB / 0.7275 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4697, allocations: 64.23 kB / 0.7276 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.4698, allocations: 31.98 kB / 0.7276 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001146/0.4709, allocations: 0.8818 MB / 0.7285 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.6e-07/0.471, allocations: 4 kB / 0.7285 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00165/0.4726, allocations: 0.7174 MB / 0.7292 GB, free: 5.906 MB / 0.5606 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007706/0.4734, allocations: 453.4 kB / 0.7296 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.4757, allocations: 1.125 MB / 0.7307 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4757, allocations: 0 / 0.7307 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.477, allocations: 0.5565 MB / 0.7313 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.48, allocations: 0.8025 MB / 0.732 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.4834, allocations: 2.288 MB / 0.7343 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.4841, allocations: 1.179 MB / 0.7354 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009808/0.4851, allocations: 308.3 kB / 0.7357 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.4854, allocations: 107.4 kB / 0.7358 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.4854, allocations: 0 / 0.7358 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.2585/0.7439, allocations: 32.2 MB / 0.7673 GB, free: 149 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)