Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_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.001555/0.001555, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001701/0.001701, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.987/2.987, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.849/2.849, allocations: 292.6 MB / 0.5498 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005766/0.000577, allocations: 12.97 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4384, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006037/0.4445, allocations: 2.46 MB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000576/0.4452, allocations: 339.2 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.4452, allocations: 0 / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.4454, allocations: 0 / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.4455, allocations: 7.984 kB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.4463, allocations: 143.6 kB / 0.7901 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.4465, allocations: 15.92 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.4465, allocations: 4 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.4466, allocations: 7.984 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.4467, allocations: 7.984 kB / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.4468, allocations: 4 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.4473, allocations: 103.8 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.4473, allocations: 4 kB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.4474, allocations: 25.7 kB / 0.7903 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.4476, allocations: 64.09 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4477, allocations: 4 kB / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4477, allocations: 4 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4477, allocations: 0 / 0.7903 GB, free: 8.684 MB / 0.6075 GB 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.000621/0.4483, allocations: 339.4 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.4484, allocations: 8.031 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.94e-05/0.4485, allocations: 30.56 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.4485, allocations: 11.86 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.4487, allocations: 163.1 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.4489, allocations: 33.69 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4489, allocations: 4 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.4491, allocations: 45.62 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4491, allocations: 0 / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.4492, allocations: 0 / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.4492, allocations: 4 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.4493, allocations: 19.94 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4504, allocations: 0.5677 MB / 0.7915 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/0.4504, allocations: 26.52 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/0.4509, allocations: 332.5 kB / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.4509, allocations: 30.56 kB / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.451, allocations: 0 / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002471/0.4512, allocations: 45.64 kB / 0.7919 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.4513, allocations: 51.41 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4515, allocations: 97.98 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.4515, allocations: 29.64 kB / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4516, allocations: 96.03 kB / 0.7922 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.4517, allocations: 7.844 kB / 0.7922 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.4517, allocations: 3.938 kB / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4519, allocations: 310.8 kB / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.4519, allocations: 11.94 kB / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.452, allocations: 17.7 kB / 0.7925 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.452, allocations: 8 kB / 0.7925 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.452, allocations: 0 / 0.7925 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.4521, allocations: 49.62 kB / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.4522, allocations: 4 kB / 0.7926 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.4522, allocations: 4 kB / 0.7926 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.4522, allocations: 3.953 kB / 0.7926 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.4523, allocations: 4 kB / 0.7926 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4523, allocations: 0 / 0.7926 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.4524, allocations: 4.062 kB / 0.7926 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.4524, allocations: 4 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB 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 0.0001325/0.4526, allocations: 109.8 kB / 0.7927 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.4526, allocations: 4 kB / 0.7927 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4528, allocations: 122.9 kB / 0.7928 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001064/0.4529, allocations: 176.3 kB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000148/0.4531, allocations: 184.2 kB / 0.7932 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000149/0.4533, allocations: 188.2 kB / 0.7934 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.4539, allocations: 401.2 kB / 0.7937 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001012/0.454, allocations: 108.9 kB / 0.7938 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.4543, allocations: 105 kB / 0.7939 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.4545, allocations: 180.3 kB / 0.7941 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.4547, allocations: 184.2 kB / 0.7943 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002744/0.455, allocations: 176.3 kB / 0.7945 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001149/0.4551, allocations: 192.2 kB / 0.7946 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.4554, allocations: 308 kB / 0.7949 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4556, allocations: 190 kB / 0.7951 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.4559, allocations: 176.3 kB / 0.7953 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.4561, allocations: 116.9 kB / 0.7954 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.4564, allocations: 184.2 kB / 0.7956 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.4564, allocations: 101.3 kB / 0.7957 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.4565, allocations: 91.17 kB / 0.7958 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.625e-06/0.4565, allocations: 0 / 0.7958 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000362/0.4569, allocations: 39.92 kB / 0.7958 GB, free: 2.48 MB / 0.6075 GB 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.0007878/0.4577, allocations: 0.8556 MB / 0.7966 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.4578, allocations: 4 kB / 0.7966 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4578, allocations: 3.938 kB / 0.7966 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.4578, allocations: 0 / 0.7966 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.4585, allocations: 0.5366 MB / 0.7972 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.4592, allocations: 233.5 kB / 0.7974 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.4597, allocations: 0.6809 MB / 0.798 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.105e-05/0.4598, allocations: 7.094 kB / 0.7981 GB, free: 68 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.4598, allocations: 11.44 kB / 0.7981 GB, free: 56 kB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.4598, allocations: 3.938 kB / 0.7981 GB, free: 52 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.4815, allocations: 1.835 MB / 0.7999 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.4819, allocations: 227.6 kB / 0.8001 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.435, allocations: 4 kB / 0.8001 GB, free: 14.2 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: