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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005196/0.005196, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8281/0.8281, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002775, allocations: 8.875 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.2583/0.3821, allocations: 73.46 MB / 0.6598 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.3962, allocations: 15.02 MB / 0.6745 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.3975, allocations: 57.44 kB / 0.6745 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.3989, allocations: 0.6725 MB / 0.6752 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.4032, allocations: 2.382 MB / 0.6775 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.4056, allocations: 1.266 MB / 0.6788 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005224/0.4108, allocations: 5.563 MB / 0.6842 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.4123, allocations: 1.156 MB / 0.6853 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.4143, allocations: 1.334 MB / 0.6866 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.4156, allocations: 1.147 MB / 0.6877 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.4157, allocations: 56.38 kB / 0.6878 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.418, allocations: 1.263 MB / 0.689 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.4183, allocations: 289 kB / 0.6893 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006887/0.419, allocations: 0.8 MB / 0.6901 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.4217, allocations: 2.735 MB / 0.6928 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4217, allocations: 1 kB / 0.6928 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4217, allocations: 0 / 0.6928 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.4218, allocations: 0 / 0.6928 GB, free: 4.281 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.002887/0.4247, allocations: 1.793 MB / 0.6945 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.4247, allocations: 10.42 kB / 0.6945 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.4249, allocations: 150.9 kB / 0.6947 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006833/0.4256, allocations: 249.8 kB / 0.6949 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.4277, allocations: 1.492 MB / 0.6964 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.4278, allocations: 77.38 kB / 0.6964 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.4279, allocations: 108.3 kB / 0.6965 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.4298, allocations: 1.126 MB / 0.6976 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4299, allocations: 1.062 kB / 0.6976 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/0.4299, allocations: 37.81 kB / 0.6977 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.43, allocations: 29.55 kB / 0.6977 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.4318, allocations: 0.9321 MB / 0.6986 GB, free: 1.082 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.005114/0.4369, allocations: 4.925 MB / 0.7034 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4382, allocations: 0.6413 MB / 0.704 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.4389, allocations: 371.7 kB / 0.7044 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/0.4395, allocations: 0.8317 MB / 0.7052 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4395, allocations: 39.91 kB / 0.7052 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 1.923e-06/0.4395, allocations: 0 / 0.7052 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004462/0.444, allocations: 1.528 MB / 0.7067 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.444, allocations: 58.44 kB / 0.7068 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.4454, allocations: 1.22 MB / 0.708 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.4455, allocations: 44.11 kB / 0.708 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/0.446, allocations: 0.6036 MB / 0.7086 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.4462, allocations: 215.5 kB / 0.7088 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.4462, allocations: 63.22 kB / 0.7089 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4464, allocations: 344.4 kB / 0.7092 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.447, allocations: 304.1 kB / 0.7095 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007908/0.4478, allocations: 0.5017 MB / 0.71 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.4492, allocations: 0.7493 MB / 0.7107 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4492, allocations: 0.9688 kB / 0.7107 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004476/0.4537, allocations: 1.399 MB / 0.7121 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.4538, allocations: 196.1 kB / 0.7123 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.4538, allocations: 3.438 kB / 0.7123 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.4544, allocations: 159 kB / 0.7124 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.4549, allocations: 164.4 kB / 0.7126 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/0.4557, allocations: 0.7332 MB / 0.7133 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000951/0.4567, allocations: 161.7 kB / 0.7135 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.4567, allocations: 33.42 kB / 0.7135 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-06/0.4567, allocations: 3.312 kB / 0.7135 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004242/0.461, allocations: 1.251 MB / 0.7147 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.461, allocations: 8.109 kB / 0.7147 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.4615, allocations: 163.3 kB / 0.7149 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.4621, allocations: 170.7 kB / 0.715 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007369/0.4628, allocations: 0.7212 MB / 0.7157 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008649/0.4637, allocations: 163.2 kB / 0.7159 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.4637, allocations: 34.83 kB / 0.7159 GB, free: 5.965 MB / 0.5294 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.0004545/0.4642, allocations: 418.9 kB / 0.7163 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.4644, allocations: 136.1 kB / 0.7165 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/0.4687, allocations: 1.396 MB / 0.7178 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4688, allocations: 6.625 kB / 0.7178 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4688, allocations: 0 / 0.7178 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003895/0.4727, allocations: 1.228 MB / 0.719 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.4759, allocations: 2.348 MB / 0.7213 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4759, allocations: 3.625 kB / 0.7213 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.4763, allocations: 122.8 kB / 0.7215 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/0.4768, allocations: 161 kB / 0.7216 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.4769, allocations: 16 kB / 0.7216 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007202/0.4776, allocations: 0.7279 MB / 0.7223 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4776, allocations: 7.938 kB / 0.7223 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.48, allocations: 1.454 MB / 0.7238 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.4805, allocations: 335.2 kB / 0.7241 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.4806, allocations: 16 kB / 0.7241 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/0.4814, allocations: 99.81 kB / 0.7242 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.4815, allocations: 52.25 kB / 0.7242 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.4816, allocations: 39.97 kB / 0.7243 GB, free: 15.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001007/0.4826, allocations: 0.8662 MB / 0.7251 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4826, allocations: 0 / 0.7251 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001477/0.4841, allocations: 0.6979 MB / 0.7258 GB, free: 14.02 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 (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.003312/0.4874, allocations: 2.353 MB / 0.7281 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.4897, allocations: 1.177 MB / 0.7293 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4897, allocations: 3.938 kB / 0.7293 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.4905, allocations: 421 kB / 0.7297 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/0.4942, allocations: 0.7904 MB / 0.7304 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/0.5165, allocations: 11.25 MB / 0.7414 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.5172, allocations: 1.172 MB / 0.7426 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000969/0.5181, allocations: 311.3 kB / 0.7429 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.5188, allocations: 0.5266 MB / 0.7434 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5188, allocations: 0 / 0.7434 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.665/5.184, allocations: 42.37 MB / 0.7848 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/5.184, allocations: 262.9 kB / 0.785 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.417/9.601, allocations: 0 / 0.785 GB, free: 1.223 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)