Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.0009287/0.0009287, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000814/0.0008141, allocations: 172.7 kB / 15.95 MB, free: 208 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.422/1.422, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8095/0.8095, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 12.22 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5005, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003483/0.5041, allocations: 2.891 MB / 0.586 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 8.124e-05/0.5042, allocations: 44.64 kB / 0.586 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.5042, allocations: 1.188 kB / 0.586 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.897e-05/0.5043, allocations: 5.25 kB / 0.586 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.5044, allocations: 13.47 kB / 0.586 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.5048, allocations: 135.7 kB / 0.5862 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.5049, allocations: 50.19 kB / 0.5862 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.505, allocations: 2.672 kB / 0.5862 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.505, allocations: 15.31 kB / 0.5862 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.5051, allocations: 24.88 kB / 0.5863 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.5051, allocations: 1.344 kB / 0.5863 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.5054, allocations: 90.69 kB / 0.5863 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.5054, allocations: 4.328 kB / 0.5863 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.5054, allocations: 33.08 kB / 0.5864 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.5056, allocations: 59.14 kB / 0.5864 GB, free: 1.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5056, allocations: 0 / 0.5864 GB, free: 1.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5056, allocations: 1.125 kB / 0.5864 GB, free: 1.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.5056, allocations: 0 / 0.5864 GB, free: 1.652 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000319/0.506, allocations: 344.5 kB / 0.5868 GB, free: 1.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.506, allocations: 10.06 kB / 0.5868 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.5061, allocations: 36.5 kB / 0.5868 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.5061, allocations: 5.578 kB / 0.5868 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.5062, allocations: 160.8 kB / 0.587 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/0.5062, allocations: 29.05 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.5063, allocations: 0.7812 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5064, allocations: 44.83 kB / 0.587 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5064, allocations: 4 kB / 0.587 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.5064, allocations: 0 / 0.587 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.5065, allocations: 6.188 kB / 0.587 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.5065, allocations: 20.88 kB / 0.5871 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.5071, allocations: 0.5766 MB / 0.5876 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.849e-05/0.5071, allocations: 17.05 kB / 0.5876 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.5071, allocations: 10.39 kB / 0.5877 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.5073, allocations: 343.2 kB / 0.588 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5074, allocations: 36.09 kB / 0.588 GB, free: 15.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5074, allocations: 0 / 0.588 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.5075, allocations: 41.28 kB / 0.5881 GB, free: 15.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5076, allocations: 52 kB / 0.5881 GB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.5077, allocations: 111.4 kB / 0.5882 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.5077, allocations: 25.7 kB / 0.5882 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.5077, allocations: 90.77 kB / 0.5883 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.5077, allocations: 5.625 kB / 0.5883 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.5077, allocations: 0 / 0.5883 GB, free: 15.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5079, allocations: 312.4 kB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.5079, allocations: 3.266 kB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.5079, allocations: 18.86 kB / 0.5886 GB, free: 15.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.5079, allocations: 8.938 kB / 0.5887 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5079, allocations: 4 kB / 0.5887 GB, free: 15.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.857e-05/0.508, allocations: 46.7 kB / 0.5887 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5081, allocations: 4.719 kB / 0.5887 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5081, allocations: 1.031 kB / 0.5887 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5081, allocations: 9.672 kB / 0.5887 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.5081, allocations: 9.125 kB / 0.5887 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5082, allocations: 0.5938 kB / 0.5887 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.5082, allocations: 2.281 kB / 0.5887 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.5082, allocations: 1.469 kB / 0.5887 GB, free: 15.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.5083, allocations: 118.2 kB / 0.5888 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.5083, allocations: 2.438 kB / 0.5888 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.5084, allocations: 121 kB / 0.589 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.026e-05/0.5085, allocations: 186.2 kB / 0.5891 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.774e-05/0.5086, allocations: 178.3 kB / 0.5893 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/0.5086, allocations: 189 kB / 0.5895 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.5088, allocations: 399.8 kB / 0.5899 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-05/0.5089, allocations: 106.6 kB / 0.59 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.5089, allocations: 111 kB / 0.5901 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.985e-05/0.509, allocations: 177.5 kB / 0.5902 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.5091, allocations: 185.5 kB / 0.5904 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-05/0.5092, allocations: 182.4 kB / 0.5906 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-05/0.5092, allocations: 181.6 kB / 0.5908 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.5094, allocations: 307.3 kB / 0.5911 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.5094, allocations: 186.4 kB / 0.5912 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.5095, allocations: 187.1 kB / 0.5914 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.5097, allocations: 111.3 kB / 0.5915 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.5097, allocations: 181 kB / 0.5917 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.5098, allocations: 105.5 kB / 0.5918 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.5098, allocations: 82.09 kB / 0.5919 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5098, allocations: 0 / 0.5919 GB, free: 11.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.5102, allocations: 44.42 kB / 0.5919 GB, free: 11.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005055/0.5107, allocations: 0.8513 MB / 0.5928 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.219e-05/0.5107, allocations: 7.453 kB / 0.5928 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5108, allocations: 0 / 0.5928 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.5108, allocations: 0.5 kB / 0.5928 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.5112, allocations: 0.535 MB / 0.5933 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.5116, allocations: 232.9 kB / 0.5935 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.5118, allocations: 0.6754 MB / 0.5942 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.5119, allocations: 13.34 kB / 0.5942 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.5119, allocations: 12.52 kB / 0.5942 GB, free: 9.426 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5119, allocations: 0 / 0.5942 GB, free: 9.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.5252, allocations: 1.893 MB / 0.596 GB, free: 9.184 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.5255, allocations: 226.8 kB / 0.5963 GB, free: 8.949 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.28, allocations: 5.5 kB / 0.5963 GB, free: 8.945 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: