Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001228/0.001228, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001279/0.001279, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7632/0.7632, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.5068 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06236/0.408, allocations: 75.2 MB / 0.6592 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02119/0.4292, allocations: 15.14 MB / 0.674 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.4323, allocations: 67.67 kB / 0.6741 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.4349, allocations: 0.8306 MB / 0.6749 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007479/0.4424, allocations: 2.58 MB / 0.6774 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.4459, allocations: 1.401 MB / 0.6788 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005692/0.4516, allocations: 4.396 MB / 0.683 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.4536, allocations: 1.441 MB / 0.6845 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.4571, allocations: 1.64 MB / 0.6861 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.4589, allocations: 1.225 MB / 0.6873 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.4591, allocations: 164 kB / 0.6874 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.4619, allocations: 1.419 MB / 0.6888 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.4623, allocations: 402.6 kB / 0.6892 GB, free: 408 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000952/0.4633, allocations: 0.906 MB / 0.6901 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.4669, allocations: 2.886 MB / 0.6929 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4669, allocations: 3.938 kB / 0.6929 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4669, allocations: 0 / 0.6929 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.4669, allocations: 0 / 0.6929 GB, free: 12.59 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.003441/0.4704, allocations: 2.099 MB / 0.6949 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4704, allocations: 9.109 kB / 0.6949 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.4712, allocations: 234.7 kB / 0.6952 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.4738, allocations: 1.528 MB / 0.6967 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.4738, allocations: 77.94 kB / 0.6967 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.474, allocations: 100 kB / 0.6968 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.4759, allocations: 1.1 MB / 0.6979 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.4759, allocations: 7.984 kB / 0.6979 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.476, allocations: 44 kB / 0.698 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.476, allocations: 24 kB / 0.698 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.4779, allocations: 0.89 MB / 0.6988 GB, free: 6.328 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.005907/0.4838, allocations: 4.923 MB / 0.7037 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.4851, allocations: 0.6171 MB / 0.7043 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/0.4858, allocations: 360.3 kB / 0.7046 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/0.4865, allocations: 0.8238 MB / 0.7054 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4865, allocations: 43.12 kB / 0.7054 GB, free: 15.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.314e-06/0.4865, allocations: 0 / 0.7054 GB, free: 15.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.004714/0.4913, allocations: 1.412 MB / 0.7068 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.4913, allocations: 55.97 kB / 0.7069 GB, free: 13.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.4929, allocations: 1.226 MB / 0.7081 GB, free: 12.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.493, allocations: 41.7 kB / 0.7081 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.4936, allocations: 0.5949 MB / 0.7087 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.4938, allocations: 228.8 kB / 0.7089 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.494, allocations: 150.6 kB / 0.7091 GB, free: 11.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4942, allocations: 337.9 kB / 0.7094 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.4949, allocations: 288.7 kB / 0.7097 GB, free: 10.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.4957, allocations: 0.4928 MB / 0.7101 GB, free: 10.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.4971, allocations: 0.7004 MB / 0.7108 GB, free: 9.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4971, allocations: 4 kB / 0.7108 GB, free: 9.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004232/0.5013, allocations: 1.265 MB / 0.7121 GB, free: 8.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5014, allocations: 12.06 kB / 0.7121 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5014, allocations: 4 kB / 0.7121 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/0.502, allocations: 160.6 kB / 0.7122 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.5026, allocations: 151.8 kB / 0.7124 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007995/0.5034, allocations: 0.7184 MB / 0.7131 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.5044, allocations: 123.1 kB / 0.7132 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.5045, allocations: 35.92 kB / 0.7132 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001017/0.5055, allocations: 0.5527 MB / 0.7138 GB, free: 6.297 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007646/0.5063, allocations: 491.9 kB / 0.7142 GB, free: 5.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001271/0.5076, allocations: 0.7081 MB / 0.7149 GB, free: 4.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.5076, allocations: 3.938 kB / 0.7149 GB, free: 4.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0043/0.5119, allocations: 1.265 MB / 0.7162 GB, free: 3.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5119, allocations: 10.34 kB / 0.7162 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.5119, allocations: 4.375 kB / 0.7162 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.5125, allocations: 156.7 kB / 0.7163 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.5131, allocations: 151.8 kB / 0.7165 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007709/0.5139, allocations: 0.72 MB / 0.7172 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/0.5149, allocations: 103.5 kB / 0.7173 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.5149, allocations: 31.98 kB / 0.7173 GB, free: 2.516 MB / 0.545 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.0002241/0.5152, allocations: 224.1 kB / 0.7175 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.5154, allocations: 138.2 kB / 0.7177 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/0.5196, allocations: 1.258 MB / 0.7189 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.5196, allocations: 8 kB / 0.7189 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5197, allocations: 0 / 0.7189 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003712/0.5234, allocations: 1.092 MB / 0.72 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.5273, allocations: 2.313 MB / 0.7222 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5273, allocations: 4 kB / 0.7222 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.5277, allocations: 111.8 kB / 0.7223 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/0.5283, allocations: 153 kB / 0.7225 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.5283, allocations: 19.94 kB / 0.7225 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007292/0.5291, allocations: 0.7018 MB / 0.7232 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5291, allocations: 4 kB / 0.7232 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.5316, allocations: 1.407 MB / 0.7246 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.5322, allocations: 315.1 kB / 0.7249 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.5323, allocations: 16 kB / 0.7249 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.5331, allocations: 47.94 kB / 0.7249 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5332, allocations: 56.38 kB / 0.725 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.5333, allocations: 35.97 kB / 0.725 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001176/0.5345, allocations: 0.8857 MB / 0.7259 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5345, allocations: 0 / 0.7259 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001565/0.536, allocations: 0.7096 MB / 0.7266 GB, free: 8.746 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000773/0.5368, allocations: 473.6 kB / 0.727 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.5392, allocations: 1.125 MB / 0.7281 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5392, allocations: 128 / 0.7281 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000855/0.5401, allocations: 399.1 kB / 0.7285 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.543, allocations: 0.8009 MB / 0.7293 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.5464, allocations: 2.28 MB / 0.7315 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.5472, allocations: 1.172 MB / 0.7326 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009202/0.5481, allocations: 309 kB / 0.7329 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.5483, allocations: 103.4 kB / 0.733 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5483, allocations: 0 / 0.733 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of Templates: time 0.2796/0.8279, allocations: 32.03 MB / 0.7643 GB, free: 149.5 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)