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.001129/0.001129, allocations: 110.2 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.001704/0.001705, allocations: 189.5 kB / 17.31 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7778/0.7778, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.14 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4051, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07362/0.4787, allocations: 75.21 MB / 0.6549 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.5006, allocations: 15.15 MB / 0.6697 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.5038, allocations: 63.62 kB / 0.6698 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.5067, allocations: 0.8268 MB / 0.6706 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008979/0.5157, allocations: 2.584 MB / 0.6731 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.52, allocations: 1.393 MB / 0.6745 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006743/0.5268, allocations: 4.397 MB / 0.6788 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.5299, allocations: 1.456 MB / 0.6802 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.5345, allocations: 1.636 MB / 0.6818 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.5374, allocations: 1.217 MB / 0.683 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005612/0.5379, allocations: 164 kB / 0.6831 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004383/0.5423, allocations: 1.4 MB / 0.6845 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009099/0.5433, allocations: 398.6 kB / 0.6849 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.5454, allocations: 0.906 MB / 0.6858 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.551, allocations: 2.859 MB / 0.6886 GB, free: 308 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5511, allocations: 3.938 kB / 0.6886 GB, free: 304 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5511, allocations: 0 / 0.6886 GB, free: 304 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.901e-05/0.5511, allocations: 4 kB / 0.6886 GB, free: 300 kB / 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.004338/0.5555, allocations: 2.091 MB / 0.6906 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5555, allocations: 8.031 kB / 0.6906 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000898/0.5564, allocations: 226.8 kB / 0.6908 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.5594, allocations: 1.524 MB / 0.6923 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.5595, allocations: 74 kB / 0.6924 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.5596, allocations: 104 kB / 0.6925 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.5616, allocations: 1.096 MB / 0.6936 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.5616, allocations: 3.984 kB / 0.6936 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.432e-05/0.5617, allocations: 36 kB / 0.6936 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.5618, allocations: 28 kB / 0.6936 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.5637, allocations: 0.89 MB / 0.6945 GB, free: 10.06 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.006426/0.5701, allocations: 4.911 MB / 0.6993 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.5715, allocations: 0.6159 MB / 0.6999 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/0.5722, allocations: 349.4 kB / 0.7002 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.5728, allocations: 0.8316 MB / 0.701 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.5729, allocations: 39.12 kB / 0.7011 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.5729, allocations: 0 / 0.7011 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006827/0.5797, allocations: 1.693 MB / 0.7027 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.5798, allocations: 55.97 kB / 0.7028 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.5817, allocations: 1.237 MB / 0.704 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5818, allocations: 37.7 kB / 0.704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005235/0.5824, allocations: 0.6065 MB / 0.7046 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.5826, allocations: 216.9 kB / 0.7048 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.5829, allocations: 154.6 kB / 0.705 GB, free: 14.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.583, allocations: 337.8 kB / 0.7053 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.5837, allocations: 288.7 kB / 0.7056 GB, free: 14.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008883/0.5846, allocations: 0.489 MB / 0.706 GB, free: 13.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.5861, allocations: 0.709 MB / 0.7067 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5861, allocations: 3.938 kB / 0.7067 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004613/0.5907, allocations: 1.269 MB / 0.708 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5908, allocations: 8 kB / 0.708 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.5908, allocations: 7.984 kB / 0.708 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.5914, allocations: 129.1 kB / 0.7081 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.592, allocations: 171.7 kB / 0.7083 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007992/0.5928, allocations: 0.7044 MB / 0.709 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.5944, allocations: 115 kB / 0.7091 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.5945, allocations: 35.98 kB / 0.7091 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/0.5956, allocations: 0.5488 MB / 0.7097 GB, free: 9.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007693/0.5964, allocations: 496.7 kB / 0.7101 GB, free: 9.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001311/0.5977, allocations: 0.709 MB / 0.7108 GB, free: 8.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.5977, allocations: 0 / 0.7108 GB, free: 8.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004397/0.6021, allocations: 1.265 MB / 0.7121 GB, free: 7.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6022, allocations: 11.98 kB / 0.7121 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6022, allocations: 7.938 kB / 0.7121 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.6027, allocations: 139.5 kB / 0.7122 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.6033, allocations: 167.8 kB / 0.7124 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007441/0.6041, allocations: 0.6889 MB / 0.713 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6052, allocations: 107.5 kB / 0.7131 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.6053, allocations: 32 kB / 0.7132 GB, free: 6.02 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.0002589/0.6055, allocations: 232.6 kB / 0.7134 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.6058, allocations: 134.4 kB / 0.7135 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004277/0.6101, allocations: 1.267 MB / 0.7148 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.6101, allocations: 12 kB / 0.7148 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6101, allocations: 0 / 0.7148 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003787/0.6139, allocations: 1.107 MB / 0.7159 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/0.6203, allocations: 2.61 MB / 0.7184 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.6204, allocations: 8.031 kB / 0.7184 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.6209, allocations: 111.8 kB / 0.7185 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.6214, allocations: 128.7 kB / 0.7186 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.6214, allocations: 20 kB / 0.7187 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004812/0.6262, allocations: 2.627 MB / 0.7212 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6263, allocations: 7.938 kB / 0.7212 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005732/0.632, allocations: 1.703 MB / 0.7229 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/0.6329, allocations: 303.2 kB / 0.7232 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.6331, allocations: 23.98 kB / 0.7232 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/0.6339, allocations: 52 kB / 0.7233 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.634, allocations: 56.25 kB / 0.7233 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.6341, allocations: 31.97 kB / 0.7233 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001225/0.6353, allocations: 0.8818 MB / 0.7242 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6353, allocations: 0 / 0.7242 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001854/0.6372, allocations: 0.7254 MB / 0.7249 GB, free: 9.59 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.0008949/0.6381, allocations: 470 kB / 0.7254 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.6406, allocations: 1.125 MB / 0.7265 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6406, allocations: 0 / 0.7265 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.642, allocations: 0.5565 MB / 0.727 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.6453, allocations: 0.796 MB / 0.7278 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.6489, allocations: 2.28 MB / 0.73 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/0.6497, allocations: 1.179 MB / 0.7312 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001119/0.6509, allocations: 309.8 kB / 0.7315 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.6511, allocations: 107.4 kB / 0.7316 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.6511, allocations: 0 / 0.7316 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of Templates: time 0.3289/0.98, allocations: 32.19 MB / 0.763 GB, free: 151.4 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)