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/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 176 kB / 371.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009891/0.000989, allocations: 89.23 kB / 0.745 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.339e-05/4.341e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2843, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.334, allocations: 342.4 MB / 1.314 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.334, allocations: 81.14 kB / 1.314 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01894/1.353, allocations: 7.692 MB / 1.322 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.366e-06/1.353, allocations: 0 / 1.322 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.353, allocations: 3.281 kB / 1.322 GB, free: 15.1 MB / 0.9011 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.0003596/1.354, allocations: 344.8 kB / 1.322 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.354, allocations: 12.03 kB / 1.322 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/1.354, allocations: 32.06 kB / 1.322 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/1.354, allocations: 8.344 kB / 1.322 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/1.354, allocations: 167 kB / 1.322 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/1.354, allocations: 28.97 kB / 1.322 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/1.354, allocations: 0 / 1.322 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/1.354, allocations: 37.69 kB / 1.322 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/1.354, allocations: 0 / 1.322 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/1.354, allocations: 4 kB / 1.322 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/1.354, allocations: 5.031 kB / 1.322 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/1.354, allocations: 15.86 kB / 1.322 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/1.355, allocations: 0.6054 MB / 1.323 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.01e-05/1.355, allocations: 14.58 kB / 1.323 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/1.355, allocations: 8.922 kB / 1.323 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/1.355, allocations: 365.5 kB / 1.323 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/1.356, allocations: 30.56 kB / 1.323 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.356, allocations: 0 / 1.323 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001451/1.356, allocations: 43.97 kB / 1.323 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/1.356, allocations: 55.39 kB / 1.324 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/1.356, allocations: 92.5 kB / 1.324 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/1.356, allocations: 26.36 kB / 1.324 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/1.356, allocations: 88.83 kB / 1.324 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/1.356, allocations: 4.031 kB / 1.324 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/1.356, allocations: 3.875 kB / 1.324 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.356, allocations: 318.8 kB / 1.324 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/1.356, allocations: 7.5 kB / 1.324 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/1.356, allocations: 13.72 kB / 1.324 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/1.356, allocations: 7.719 kB / 1.324 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/1.356, allocations: 4 kB / 1.324 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.922e-05/1.356, allocations: 48.38 kB / 1.324 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.356, allocations: 8 kB / 1.324 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.356, allocations: 0.6875 kB / 1.324 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.356, allocations: 0 / 1.324 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/1.356, allocations: 4 kB / 1.324 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.356, allocations: 3.984 kB / 1.324 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/1.356, allocations: 7.906 kB / 1.324 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.356, allocations: 1.531 kB / 1.324 GB, free: 12.4 MB / 0.9011 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.771e-05/1.357, allocations: 112.9 kB / 1.324 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/1.357, allocations: 4.688 kB / 1.324 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/1.357, allocations: 122.2 kB / 1.324 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.531e-05/1.357, allocations: 180.2 kB / 1.325 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.262e-05/1.357, allocations: 183.1 kB / 1.325 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-05/1.357, allocations: 180.3 kB / 1.325 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/1.357, allocations: 412.5 kB / 1.325 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/1.357, allocations: 103.1 kB / 1.325 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/1.357, allocations: 105 kB / 1.325 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.406e-05/1.357, allocations: 180.3 kB / 1.326 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/1.357, allocations: 184.2 kB / 1.326 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-05/1.358, allocations: 186.7 kB / 1.326 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.382e-05/1.358, allocations: 181.3 kB / 1.326 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/1.358, allocations: 307.7 kB / 1.326 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/1.358, allocations: 182.1 kB / 1.327 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/1.358, allocations: 184.2 kB / 1.327 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/1.358, allocations: 112.5 kB / 1.327 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/1.358, allocations: 180.3 kB / 1.327 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/1.358, allocations: 104.9 kB / 1.327 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.742e-05/1.358, allocations: 83.84 kB / 1.327 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/1.358, allocations: 3.938 kB / 1.327 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002677/1.359, allocations: 31.98 kB / 1.327 GB, free: 8.961 MB / 0.9011 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.0005858/1.359, allocations: 0.875 MB / 1.328 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/1.359, allocations: 11.44 kB / 1.328 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.359, allocations: 0 / 1.328 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.359, allocations: 0 / 1.328 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/1.36, allocations: 0.5237 MB / 1.329 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/1.36, allocations: 177.3 kB / 1.329 GB, free: 7.328 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.36, allocations: 0.677 MB / 1.33 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.568e-05/1.36, allocations: 7.094 kB / 1.33 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/1.36, allocations: 7.438 kB / 1.33 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of SimCode: time 2.8e-07/1.36, allocations: 0 / 1.33 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/1.374, allocations: 1.85 MB / 1.331 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/1.374, allocations: 201.8 kB / 1.332 GB, free: 4.785 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.995, allocations: 0 / 1.332 GB, free: 4.785 MB / 0.9011 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)