Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 176.9 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008201/0.00082, allocations: 90.67 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.756e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9924/1.204, allocations: 336.8 MB / 1.214 GB, free: 60 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.204, allocations: 81.69 kB / 1.214 GB, free: 12 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01744/1.222, allocations: 7.66 MB / 1.222 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.222, allocations: 0 / 1.222 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.222, allocations: 0 / 1.222 GB, free: 9.93 MB / 0.8386 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.0003732/1.222, allocations: 350 kB / 1.222 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.222, allocations: 8.031 kB / 1.222 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/1.222, allocations: 4 kB / 1.222 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/1.222, allocations: 163 kB / 1.222 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/1.222, allocations: 25.7 kB / 1.222 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/1.222, allocations: 8.938 kB / 1.222 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.905e-05/1.223, allocations: 15.92 kB / 1.222 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.022e-05/1.223, allocations: 37.62 kB / 1.222 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.223, allocations: 0 / 1.222 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.223, allocations: 0 / 1.222 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/1.223, allocations: 4 kB / 1.222 GB, free: 9.238 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/1.223, allocations: 0.5887 MB / 1.223 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.874e-05/1.223, allocations: 18.58 kB / 1.223 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/1.223, allocations: 4.859 kB / 1.223 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/1.224, allocations: 366.2 kB / 1.223 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.224, allocations: 38.44 kB / 1.223 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.224, allocations: 0 / 1.223 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002714/1.224, allocations: 45.59 kB / 1.223 GB, free: 8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.224, allocations: 55.44 kB / 1.223 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.224, allocations: 94.19 kB / 1.224 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.224, allocations: 25.7 kB / 1.224 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/1.224, allocations: 87.36 kB / 1.224 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/1.224, allocations: 4 kB / 1.224 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.224, allocations: 0 / 1.224 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.225, allocations: 318.8 kB / 1.224 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/1.225, allocations: 0 / 1.224 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/1.225, allocations: 21.84 kB / 1.224 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/1.225, allocations: 19.98 kB / 1.224 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.225, allocations: 0 / 1.224 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001775/1.225, allocations: 61.48 kB / 1.224 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.225, allocations: 4 kB / 1.224 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.225, allocations: 4 kB / 1.224 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.225, allocations: 96 / 1.224 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/1.225, allocations: 19.97 kB / 1.224 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.225, allocations: 0 / 1.224 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/1.225, allocations: 7.938 kB / 1.224 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/1.225, allocations: 0 / 1.224 GB, free: 7.258 MB / 0.8386 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 8.588e-05/1.225, allocations: 104.9 kB / 1.224 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001253/1.225, allocations: 49.53 kB / 1.224 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/1.225, allocations: 0 / 1.224 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/1.226, allocations: 125 kB / 1.224 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/1.226, allocations: 188.2 kB / 1.225 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.2e-05/1.226, allocations: 176.3 kB / 1.225 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/1.226, allocations: 176.3 kB / 1.225 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/1.226, allocations: 393 kB / 1.225 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.591e-05/1.226, allocations: 105 kB / 1.225 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/1.226, allocations: 105 kB / 1.225 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.776e-05/1.226, allocations: 180.2 kB / 1.226 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/1.226, allocations: 184.2 kB / 1.226 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.097e-05/1.226, allocations: 176.3 kB / 1.226 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-05/1.226, allocations: 183.9 kB / 1.226 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.227, allocations: 303.8 kB / 1.226 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/1.227, allocations: 189.6 kB / 1.227 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/1.227, allocations: 180.3 kB / 1.227 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.227, allocations: 109 kB / 1.227 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/1.227, allocations: 184.2 kB / 1.227 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/1.227, allocations: 101 kB / 1.227 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.069e-05/1.227, allocations: 90.91 kB / 1.227 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.227, allocations: 0 / 1.227 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002905/1.227, allocations: 31.98 kB / 1.227 GB, free: 3.797 MB / 0.8386 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.0005255/1.228, allocations: 0.8677 MB / 1.228 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.451e-05/1.228, allocations: 7.562 kB / 1.228 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.228, allocations: 4.125 kB / 1.228 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/1.228, allocations: 4 kB / 1.228 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/1.228, allocations: 0.5191 MB / 1.229 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/1.229, allocations: 180.1 kB / 1.229 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/1.229, allocations: 0.6807 MB / 1.23 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.198e-05/1.229, allocations: 5.688 kB / 1.23 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/1.229, allocations: 9.156 kB / 1.23 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.229, allocations: 0 / 1.23 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.249, allocations: 1.451 MB / 1.231 GB, free: 36 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/1.249, allocations: 204 kB / 1.231 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/2.7, allocations: 1.875 kB / 1.231 GB, free: 15.75 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)