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.8127/0.8127, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 175.8 kB / 169.7 MB, free: 1.746 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.972/1.972, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.001019/0.001019, allocations: 91.62 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.51e-05/4.546e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1798, allocations: 76.76 MB / 0.6283 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.492, allocations: 307.7 MB / 0.9287 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.492, allocations: 83.28 kB / 0.9288 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01562/1.508, allocations: 7.924 MB / 0.9366 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/1.508, allocations: 3.844 kB / 0.9366 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.508, allocations: 0 / 0.9366 GB, free: 183.3 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.0003037/1.508, allocations: 348.5 kB / 0.9369 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.508, allocations: 7.906 kB / 0.9369 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/1.509, allocations: 30.56 kB / 0.9369 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/1.509, allocations: 3.953 kB / 0.9369 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.52e-05/1.509, allocations: 170.5 kB / 0.9371 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/1.509, allocations: 28.95 kB / 0.9371 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/1.509, allocations: 0 / 0.9371 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/1.509, allocations: 37.36 kB / 0.9372 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.509, allocations: 0 / 0.9372 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.509, allocations: 3.906 kB / 0.9372 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/1.509, allocations: 0 / 0.9372 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/1.509, allocations: 22.64 kB / 0.9372 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/1.51, allocations: 0.5965 MB / 0.9378 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.463e-05/1.51, allocations: 18.48 kB / 0.9378 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/1.51, allocations: 8.797 kB / 0.9378 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/1.51, allocations: 364 kB / 0.9381 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/1.51, allocations: 30.56 kB / 0.9382 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/1.51, allocations: 0 / 0.9382 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/1.51, allocations: 48.53 kB / 0.9382 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/1.51, allocations: 51.41 kB / 0.9383 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/1.51, allocations: 95.3 kB / 0.9384 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/1.51, allocations: 25.7 kB / 0.9384 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/1.51, allocations: 84.05 kB / 0.9385 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/1.51, allocations: 7.812 kB / 0.9385 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/1.51, allocations: 0 / 0.9385 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.061e-05/1.51, allocations: 314.3 kB / 0.9388 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/1.51, allocations: 10.14 kB / 0.9388 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/1.51, allocations: 13.59 kB / 0.9388 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/1.51, allocations: 14.75 kB / 0.9388 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.51, allocations: 0 / 0.9388 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.83e-05/1.51, allocations: 41.36 kB / 0.9389 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.51, allocations: 9.625 kB / 0.9389 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.51, allocations: 8 kB / 0.9389 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.51, allocations: 3.953 kB / 0.9389 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/1.51, allocations: 7.656 kB / 0.9389 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.511, allocations: 0 / 0.9389 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/1.511, allocations: 3.906 kB / 0.9389 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/1.511, allocations: 3.984 kB / 0.9389 GB, free: 180.8 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 4.793e-05/1.511, allocations: 108.9 kB / 0.939 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/1.511, allocations: 3.906 kB / 0.939 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.311e-05/1.511, allocations: 123.9 kB / 0.9391 GB, free: 180.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/1.511, allocations: 180.2 kB / 0.9393 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/1.511, allocations: 187.7 kB / 0.9395 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/1.511, allocations: 176.5 kB / 0.9396 GB, free: 180 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/1.511, allocations: 411.8 kB / 0.94 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.511, allocations: 105 kB / 0.9401 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/1.511, allocations: 104.9 kB / 0.9402 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.014e-05/1.511, allocations: 188.2 kB / 0.9404 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/1.511, allocations: 179 kB / 0.9406 GB, free: 179 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.899e-05/1.511, allocations: 184 kB / 0.9407 GB, free: 178.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-05/1.511, allocations: 176.3 kB / 0.9409 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/1.511, allocations: 318.7 kB / 0.9412 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/1.511, allocations: 178.1 kB / 0.9414 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/1.511, allocations: 183.3 kB / 0.9416 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.512, allocations: 104.9 kB / 0.9417 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/1.512, allocations: 184.2 kB / 0.9418 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/1.512, allocations: 111.6 kB / 0.9419 GB, free: 177.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.097e-05/1.512, allocations: 87.05 kB / 0.942 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.512, allocations: 0 / 0.942 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002586/1.512, allocations: 30.14 kB / 0.9421 GB, free: 177.4 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.0003836/1.512, allocations: 0.8676 MB / 0.9429 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.323e-05/1.512, allocations: 7.906 kB / 0.9429 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.512, allocations: 0 / 0.9429 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/1.512, allocations: 3.906 kB / 0.9429 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/1.513, allocations: 0.5258 MB / 0.9434 GB, free: 176.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/1.513, allocations: 171.8 kB / 0.9436 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/1.513, allocations: 0.6801 MB / 0.9443 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.052e-05/1.513, allocations: 6.562 kB / 0.9443 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/1.513, allocations: 14.55 kB / 0.9443 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/1.513, allocations: 0 / 0.9443 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/1.526, allocations: 1.885 MB / 0.9461 GB, free: 174.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/1.526, allocations: 213.2 kB / 0.9463 GB, free: 174.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/3.251, allocations: 4 kB / 0.9463 GB, free: 174.6 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)