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.7703/0.7703, allocations: 128.7 MB / 143.7 MB, free: 2.18 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.001314/0.001314, allocations: 187.8 kB / 173.7 MB, free: 5.996 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.77/1.77, allocations: 205.4 MB / 409 MB, free: 10.47 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.0009465/0.0009464, allocations: 80.94 kB / 486.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 7.844 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7443/0.9221, allocations: 307.8 MB / 0.936 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/0.9226, allocations: 85.02 kB / 0.9361 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.9403, allocations: 7.958 MB / 0.9438 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.167e-06/0.9404, allocations: 0 / 0.9438 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9404, allocations: 3.938 kB / 0.9438 GB, free: 10.39 MB / 0.6198 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.0004042/0.9408, allocations: 354.8 kB / 0.9442 GB, free: 10 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.9409, allocations: 12.03 kB / 0.9442 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.941, allocations: 38.12 kB / 0.9442 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.941, allocations: 7.891 kB / 0.9442 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9411, allocations: 159.1 kB / 0.9444 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/0.9412, allocations: 33.69 kB / 0.9444 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.9412, allocations: 3.938 kB / 0.9444 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.9414, allocations: 41.12 kB / 0.9445 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.9414, allocations: 0 / 0.9445 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.9414, allocations: 0 / 0.9445 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.9415, allocations: 4 kB / 0.9445 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.654e-05/0.9415, allocations: 19.88 kB / 0.9445 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.9423, allocations: 0.5774 MB / 0.945 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.467e-05/0.9424, allocations: 18.58 kB / 0.9451 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.9426, allocations: 347.7 kB / 0.9454 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.9427, allocations: 38.56 kB / 0.9454 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9427, allocations: 0 / 0.9454 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001764/0.9429, allocations: 45.19 kB / 0.9455 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.9429, allocations: 51.41 kB / 0.9455 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.943, allocations: 106.6 kB / 0.9456 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.9431, allocations: 25.7 kB / 0.9456 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.9431, allocations: 87.86 kB / 0.9457 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-06/0.9431, allocations: 0 / 0.9457 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.9431, allocations: 128 / 0.9457 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9433, allocations: 318.8 kB / 0.946 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.9433, allocations: 4 kB / 0.946 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.9433, allocations: 16.97 kB / 0.9461 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.021e-05/0.9433, allocations: 4 kB / 0.9461 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9434, allocations: 0 / 0.9461 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.752e-05/0.9434, allocations: 48.81 kB / 0.9461 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.9435, allocations: 12.06 kB / 0.9461 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9435, allocations: 0 / 0.9461 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9435, allocations: 0 / 0.9461 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.9436, allocations: 15.88 kB / 0.9461 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9436, allocations: 0 / 0.9461 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.9436, allocations: 7.938 kB / 0.9461 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.9436, allocations: 3.984 kB / 0.9461 GB, free: 7.703 MB / 0.6198 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 8.668e-05/0.9437, allocations: 117.7 kB / 0.9463 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.9438, allocations: 3.906 kB / 0.9463 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.9439, allocations: 121 kB / 0.9464 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-05/0.944, allocations: 179.7 kB / 0.9465 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.524e-05/0.9441, allocations: 184.2 kB / 0.9467 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-05/0.9441, allocations: 176.3 kB / 0.9469 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.9444, allocations: 408.8 kB / 0.9473 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.367e-05/0.9444, allocations: 109 kB / 0.9474 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.9445, allocations: 105 kB / 0.9475 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7e-05/0.9445, allocations: 180.2 kB / 0.9477 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.9446, allocations: 182.7 kB / 0.9478 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.415e-05/0.9447, allocations: 180.2 kB / 0.948 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.386e-05/0.9447, allocations: 188 kB / 0.9482 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.9449, allocations: 307.7 kB / 0.9485 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.945, allocations: 181.6 kB / 0.9487 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.9451, allocations: 180.2 kB / 0.9488 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.9452, allocations: 109 kB / 0.9489 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.9453, allocations: 184.2 kB / 0.9491 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.9454, allocations: 101 kB / 0.9492 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.9454, allocations: 82.91 kB / 0.9493 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9454, allocations: 4 kB / 0.9493 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003067/0.9457, allocations: 35.25 kB / 0.9493 GB, free: 4.266 MB / 0.6198 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.0005816/0.9463, allocations: 0.8772 MB / 0.9502 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.6e-05/0.9464, allocations: 11.98 kB / 0.9502 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9464, allocations: 0 / 0.9502 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.9464, allocations: 0 / 0.9502 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.9468, allocations: 0.5258 MB / 0.9507 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.9472, allocations: 237.5 kB / 0.9509 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.9475, allocations: 0.677 MB / 0.9516 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.015e-05/0.9476, allocations: 4 kB / 0.9516 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.9476, allocations: 11.42 kB / 0.9516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.9476, allocations: 0 / 0.9516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.9614, allocations: 1.891 MB / 0.9534 GB, free: 184 kB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.9617, allocations: 237.3 kB / 0.9537 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.535, allocations: 0 / 0.9537 GB, free: 15.94 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)