Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7246/0.7246, allocations: 127.4 MB / 134.9 MB, free: 3.695 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 180.9 kB / 164.7 MB, free: 6.516 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.2 MB / 399.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 90.41 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.082e-05, allocations: 0 / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.426/1.618, allocations: 307.3 MB / 0.9218 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/1.618, allocations: 83.97 kB / 0.9218 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01826/1.637, allocations: 7.878 MB / 0.9295 GB, free: 186.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.637, allocations: 7.938 kB / 0.9295 GB, free: 186.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.637, allocations: 1.688 kB / 0.9295 GB, free: 186.5 MB / 0.6355 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.0003333/1.637, allocations: 348.8 kB / 0.9299 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.637, allocations: 7.156 kB / 0.9299 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/1.637, allocations: 8.078 kB / 0.9299 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/1.637, allocations: 159.1 kB / 0.93 GB, free: 186 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/1.637, allocations: 31.17 kB / 0.9301 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/1.637, allocations: 1.438 kB / 0.9301 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.45e-05/1.638, allocations: 16.27 kB / 0.9301 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/1.638, allocations: 43.25 kB / 0.9301 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.638, allocations: 0.875 kB / 0.9301 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.638, allocations: 0 / 0.9301 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/1.638, allocations: 0 / 0.9301 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/1.638, allocations: 0.5816 MB / 0.9307 GB, free: 185.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/1.638, allocations: 26.23 kB / 0.9307 GB, free: 185.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/1.638, allocations: 7.047 kB / 0.9307 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/1.639, allocations: 358.3 kB / 0.9311 GB, free: 184.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.639, allocations: 37.67 kB / 0.9311 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.639, allocations: 0 / 0.9311 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002426/1.639, allocations: 38.7 kB / 0.9311 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/1.639, allocations: 60.78 kB / 0.9312 GB, free: 184.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/1.639, allocations: 94.88 kB / 0.9313 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/1.639, allocations: 25.7 kB / 0.9313 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/1.639, allocations: 85.77 kB / 0.9314 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/1.639, allocations: 3.906 kB / 0.9314 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.639, allocations: 1.75 kB / 0.9314 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/1.639, allocations: 316.6 kB / 0.9317 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/1.639, allocations: 2.062 kB / 0.9317 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/1.639, allocations: 22.44 kB / 0.9317 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/1.639, allocations: 20.33 kB / 0.9317 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.639, allocations: 0 / 0.9317 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001685/1.639, allocations: 63.3 kB / 0.9318 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.639, allocations: 3.188 kB / 0.9318 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.64, allocations: 0 / 0.9318 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.64, allocations: 1.531 kB / 0.9318 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.999e-05/1.64, allocations: 12.42 kB / 0.9318 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.64, allocations: 9.469 kB / 0.9318 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/1.64, allocations: 3.953 kB / 0.9318 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/1.64, allocations: 5.5 kB / 0.9318 GB, free: 184.1 MB / 0.6355 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 () * 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 5.544e-05/1.64, allocations: 106.7 kB / 0.9319 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001059/1.64, allocations: 38.42 kB / 0.932 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/1.64, allocations: 3.906 kB / 0.932 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.331e-05/1.64, allocations: 128.2 kB / 0.9321 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/1.64, allocations: 180.3 kB / 0.9323 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/1.64, allocations: 182.8 kB / 0.9325 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.305e-05/1.64, allocations: 181.7 kB / 0.9326 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/1.64, allocations: 382.4 kB / 0.933 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/1.64, allocations: 106.3 kB / 0.9331 GB, free: 182.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/1.64, allocations: 110.1 kB / 0.9332 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.078e-05/1.64, allocations: 180.1 kB / 0.9334 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/1.64, allocations: 177.6 kB / 0.9335 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.38e-05/1.64, allocations: 183.9 kB / 0.9337 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-05/1.64, allocations: 176.3 kB / 0.9339 GB, free: 182 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.805e-05/1.64, allocations: 314.1 kB / 0.9342 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/1.641, allocations: 182.1 kB / 0.9344 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/1.641, allocations: 176.3 kB / 0.9345 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/1.641, allocations: 110.6 kB / 0.9346 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/1.641, allocations: 177.8 kB / 0.9348 GB, free: 181 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/1.641, allocations: 108.9 kB / 0.9349 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.995e-05/1.641, allocations: 86.22 kB / 0.935 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.641, allocations: 0 / 0.935 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002677/1.641, allocations: 28.62 kB / 0.935 GB, free: 180.8 MB / 0.6355 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 () * 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.000424/1.642, allocations: 0.8716 MB / 0.9359 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.385e-05/1.642, allocations: 7.281 kB / 0.9359 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.642, allocations: 5.781 kB / 0.9359 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/1.642, allocations: 0 / 0.9359 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/1.642, allocations: 0.5222 MB / 0.9364 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/1.642, allocations: 170.5 kB / 0.9365 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/1.642, allocations: 0.6792 MB / 0.9372 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.032e-05/1.642, allocations: 10.3 kB / 0.9372 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/1.642, allocations: 12.19 kB / 0.9372 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/1.642, allocations: 0 / 0.9372 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/1.665, allocations: 1.489 MB / 0.9387 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/1.665, allocations: 213.6 kB / 0.9389 GB, free: 178 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/3.236, allocations: 0 / 0.9389 GB, free: 178 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)