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.0008384/0.0008384, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009427/0.0009427, allocations: 168.7 kB / 15.95 MB, free: 200 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.277/1.277, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8793/0.8793, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004837, allocations: 12.62 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1529, allocations: 82.31 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3274/0.4803, allocations: 69.43 MB / 0.6553 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.4943, allocations: 14.16 MB / 0.6691 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.4963, allocations: 61.62 kB / 0.6692 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.4977, allocations: 0.5595 MB / 0.6697 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.5025, allocations: 1.985 MB / 0.6717 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.5053, allocations: 0.9736 MB / 0.6726 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006118/0.5114, allocations: 4.802 MB / 0.6773 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.5132, allocations: 1.031 MB / 0.6783 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.5159, allocations: 1.282 MB / 0.6796 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.5176, allocations: 1.086 MB / 0.6806 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.5177, allocations: 55.66 kB / 0.6807 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.5202, allocations: 0.9369 MB / 0.6816 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.5205, allocations: 272.5 kB / 0.6818 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.521, allocations: 360 kB / 0.6822 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.5236, allocations: 2.09 MB / 0.6842 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5236, allocations: 0 / 0.6842 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.346e-06/0.5236, allocations: 3.938 kB / 0.6842 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.5236, allocations: 5.188 kB / 0.6842 GB, free: 10.25 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.003198/0.5268, allocations: 1.809 MB / 0.686 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5269, allocations: 9.625 kB / 0.686 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.5271, allocations: 151.9 kB / 0.6862 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/0.5278, allocations: 236.6 kB / 0.6864 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.53, allocations: 1.45 MB / 0.6878 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.5301, allocations: 79.98 kB / 0.6879 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.5303, allocations: 108.8 kB / 0.688 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.5323, allocations: 1.115 MB / 0.6891 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5323, allocations: 0 / 0.6891 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.5324, allocations: 38.52 kB / 0.6891 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.5324, allocations: 29.53 kB / 0.6891 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.5342, allocations: 0.9328 MB / 0.69 GB, free: 7.09 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.005303/0.5395, allocations: 4.914 MB / 0.6948 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.5408, allocations: 0.6322 MB / 0.6955 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/0.5414, allocations: 374.3 kB / 0.6958 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.542, allocations: 0.8295 MB / 0.6966 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.542, allocations: 39.81 kB / 0.6967 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 3.226e-06/0.542, allocations: 0 / 0.6967 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.004069/0.5461, allocations: 1.523 MB / 0.6981 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.5461, allocations: 62.73 kB / 0.6982 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.5476, allocations: 1.204 MB / 0.6994 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.5477, allocations: 39.3 kB / 0.6994 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.5481, allocations: 0.6108 MB / 0.7 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.5483, allocations: 217.8 kB / 0.7002 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.5484, allocations: 15.22 kB / 0.7002 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.5485, allocations: 328.5 kB / 0.7006 GB, free: 224 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.549, allocations: 300 kB / 0.7008 GB, free: 128 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.5498, allocations: 0.5025 MB / 0.7013 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.5504, allocations: 361.2 kB / 0.7017 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5505, allocations: 5.094 kB / 0.7017 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003891/0.5543, allocations: 1.388 MB / 0.703 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.5545, allocations: 196.1 kB / 0.7032 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.5545, allocations: 3.344 kB / 0.7032 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.5551, allocations: 159.6 kB / 0.7034 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.5556, allocations: 163 kB / 0.7035 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/0.5564, allocations: 0.7316 MB / 0.7042 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.5575, allocations: 167.7 kB / 0.7044 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.5576, allocations: 32.38 kB / 0.7044 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.5576, allocations: 2.75 kB / 0.7044 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003659/0.5613, allocations: 1.247 MB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5613, allocations: 3.312 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/0.5618, allocations: 173.9 kB / 0.7058 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.5623, allocations: 158.2 kB / 0.706 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006739/0.563, allocations: 0.724 MB / 0.7067 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009748/0.564, allocations: 157.6 kB / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.5641, allocations: 38.55 kB / 0.7069 GB, free: 12.66 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 (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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006233/0.5647, allocations: 423.4 kB / 0.7073 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.5649, allocations: 131.5 kB / 0.7074 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.5687, allocations: 1.391 MB / 0.7088 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.5688, allocations: 6.219 kB / 0.7088 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5688, allocations: 5.031 kB / 0.7088 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003353/0.5721, allocations: 1.212 MB / 0.71 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.5755, allocations: 2.351 MB / 0.7122 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5756, allocations: 7.844 kB / 0.7123 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.576, allocations: 124.5 kB / 0.7124 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.5765, allocations: 152.4 kB / 0.7125 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.5765, allocations: 20.94 kB / 0.7125 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006671/0.5772, allocations: 0.7162 MB / 0.7132 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.5772, allocations: 11.52 kB / 0.7133 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.5794, allocations: 1.448 MB / 0.7147 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.5798, allocations: 336.1 kB / 0.715 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.58, allocations: 21.27 kB / 0.715 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/0.5807, allocations: 94.25 kB / 0.7151 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.5808, allocations: 51.19 kB / 0.7151 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.5809, allocations: 35.59 kB / 0.7152 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009566/0.5819, allocations: 0.8557 MB / 0.716 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5819, allocations: 0 / 0.716 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001575/0.5835, allocations: 0.7008 MB / 0.7167 GB, free: 6.609 MB / 0.5294 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00298/0.5864, allocations: 2.336 MB / 0.719 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.5886, allocations: 1.166 MB / 0.7201 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5886, allocations: 0 / 0.7201 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.5894, allocations: 421 kB / 0.7205 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.5922, allocations: 0.7596 MB / 0.7213 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.6092, allocations: 8.361 MB / 0.7294 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.61, allocations: 1.172 MB / 0.7306 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001355/0.6113, allocations: 303.9 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/0.612, allocations: 0.5071 MB / 0.7314 GB, free: 7.727 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.612, allocations: 4 kB / 0.7314 GB, free: 7.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.104/3.716, allocations: 42.02 MB / 0.7724 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03336/3.749, allocations: 244.6 kB / 0.7726 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.41/8.159, allocations: 4 kB / 0.7726 GB, free: 13.85 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/linux/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) Environment - environmentSimulation: