Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8969/0.8969, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 177 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 88.05 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 275.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.552e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4901, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8475/1.338, allocations: 312.9 MB / 1.063 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.338, allocations: 79.69 kB / 1.063 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.021/1.359, allocations: 9.134 MB / 1.072 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/1.359, allocations: 0 / 1.072 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.359, allocations: 0 / 1.072 GB, free: 14.62 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.0004093/1.36, allocations: 338.5 kB / 1.072 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.36, allocations: 12.03 kB / 1.072 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/1.36, allocations: 7.562 kB / 1.072 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/1.36, allocations: 159.1 kB / 1.073 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/1.36, allocations: 33.64 kB / 1.073 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/1.36, allocations: 4 kB / 1.073 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.169e-05/1.36, allocations: 11.94 kB / 1.073 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.315e-05/1.36, allocations: 37.38 kB / 1.073 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/1.36, allocations: 3.938 kB / 1.073 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.36, allocations: 0 / 1.073 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/1.36, allocations: 4 kB / 1.073 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/1.361, allocations: 0.5876 MB / 1.073 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.892e-05/1.361, allocations: 22.55 kB / 1.073 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/1.361, allocations: 8.922 kB / 1.073 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/1.361, allocations: 359.8 kB / 1.074 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/1.361, allocations: 34.56 kB / 1.074 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.361, allocations: 0 / 1.074 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002442/1.362, allocations: 41.69 kB / 1.074 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.362, allocations: 51.41 kB / 1.074 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/1.362, allocations: 96.73 kB / 1.074 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/1.362, allocations: 25.7 kB / 1.074 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/1.362, allocations: 91.98 kB / 1.074 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/1.362, allocations: 0 / 1.074 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/1.362, allocations: 4.031 kB / 1.074 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.362, allocations: 314.7 kB / 1.074 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/1.362, allocations: 4 kB / 1.074 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/1.362, allocations: 17.7 kB / 1.074 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/1.362, allocations: 23.48 kB / 1.074 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.362, allocations: 3.953 kB / 1.074 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001733/1.362, allocations: 61.67 kB / 1.074 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.362, allocations: 4 kB / 1.074 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.362, allocations: 0 / 1.074 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.362, allocations: 0 / 1.074 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/1.362, allocations: 7.938 kB / 1.074 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/1.362, allocations: 4 kB / 1.074 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/1.362, allocations: 3.906 kB / 1.074 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.362, allocations: 0 / 1.074 GB, free: 11.96 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 () * 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.634e-05/1.363, allocations: 112.9 kB / 1.074 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000125/1.363, allocations: 53.7 kB / 1.075 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/1.363, allocations: 0 / 1.075 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/1.363, allocations: 115 kB / 1.075 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.123e-05/1.363, allocations: 184.4 kB / 1.075 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.742e-05/1.363, allocations: 180.2 kB / 1.075 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-05/1.363, allocations: 180.3 kB / 1.075 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/1.363, allocations: 393.7 kB / 1.076 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/1.363, allocations: 101 kB / 1.076 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/1.363, allocations: 105 kB / 1.076 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-05/1.363, allocations: 183.6 kB / 1.076 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/1.363, allocations: 184.3 kB / 1.076 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.975e-05/1.364, allocations: 184.2 kB / 1.076 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.545e-05/1.364, allocations: 184.1 kB / 1.076 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/1.364, allocations: 303.8 kB / 1.077 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/1.364, allocations: 193.9 kB / 1.077 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/1.364, allocations: 180.3 kB / 1.077 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.364, allocations: 105 kB / 1.077 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/1.364, allocations: 184.2 kB / 1.077 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/1.364, allocations: 106.2 kB / 1.077 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.181e-05/1.364, allocations: 82.84 kB / 1.078 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/1.364, allocations: 0 / 1.078 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000284/1.365, allocations: 35.62 kB / 1.078 GB, free: 8.496 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 () * 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.0005212/1.365, allocations: 0.8631 MB / 1.078 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.792e-05/1.365, allocations: 8 kB / 1.078 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.365, allocations: 0 / 1.078 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/1.365, allocations: 0 / 1.078 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/1.365, allocations: 0.5303 MB / 1.079 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/1.366, allocations: 168.9 kB / 1.079 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/1.366, allocations: 0.6768 MB / 1.08 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.734e-05/1.366, allocations: 9.391 kB / 1.08 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/1.366, allocations: 12.69 kB / 1.08 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/1.366, allocations: 0 / 1.08 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/1.403, allocations: 1.499 MB / 1.081 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.404, allocations: 206.3 kB / 1.081 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/3.045, allocations: 3.969 kB / 1.081 GB, free: 4.426 MB / 0.6198 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)