Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.681/2.681, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001613/0.001612, allocations: 186.6 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00173/0.00173, allocations: 90.16 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005334/0.0005332, allocations: 9.969 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.461, allocations: 346 MB / 1.316 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.461, allocations: 79.89 kB / 1.316 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.06729/1.528, allocations: 16.29 MB / 1.332 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.594e-06/1.528, allocations: 0 / 1.332 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.161e-05/1.528, allocations: 4 kB / 1.332 GB, free: 5.164 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001042/1.53, allocations: 485.7 kB / 1.333 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.53, allocations: 12.03 kB / 1.333 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.485e-05/1.53, allocations: 57.3 kB / 1.333 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/1.533, allocations: 176 kB / 1.333 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/1.533, allocations: 213.8 kB / 1.333 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/1.533, allocations: 13.45 kB / 1.333 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/1.533, allocations: 18.25 kB / 1.333 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.534, allocations: 300.8 kB / 1.333 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.534, allocations: 0 / 1.333 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/1.534, allocations: 7.938 kB / 1.333 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.534, allocations: 4 kB / 1.333 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/1.536, allocations: 259.3 kB / 1.334 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/1.538, allocations: 1.389 MB / 1.335 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.539, allocations: 194.4 kB / 1.335 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/1.539, allocations: 3.062 kB / 1.335 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.54, allocations: 38.56 kB / 1.335 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 5.59e-06/1.54, allocations: 0 / 1.335 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001361/1.541, allocations: 242 kB / 1.335 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.541, allocations: 62.3 kB / 1.335 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/1.541, allocations: 148.1 kB / 1.336 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/1.541, allocations: 33.27 kB / 1.336 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.541, allocations: 133.7 kB / 1.336 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/1.541, allocations: 58.05 kB / 1.336 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/1.542, allocations: 3.375 kB / 1.336 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.542, allocations: 325.6 kB / 1.336 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/1.542, allocations: 63.97 kB / 1.336 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/1.542, allocations: 142.6 kB / 1.336 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/1.543, allocations: 75.78 kB / 1.336 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/1.543, allocations: 0 / 1.336 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001099/1.544, allocations: 250 kB / 1.337 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.544, allocations: 8 kB / 1.337 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.544, allocations: 4 kB / 1.337 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.544, allocations: 4 kB / 1.337 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/1.545, allocations: 66.95 kB / 1.337 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/1.545, allocations: 4.312 kB / 1.337 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/1.545, allocations: 38.62 kB / 1.337 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/1.545, allocations: 19.23 kB / 1.337 GB, free: 0.5273 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001794/1.546, allocations: 126.8 kB / 1.337 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/1.546, allocations: 15.81 kB / 1.337 GB, free: 396 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/1.547, allocations: 235 kB / 1.337 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.547, allocations: 4 kB / 1.337 GB, free: 212 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.547, allocations: 0 / 1.337 GB, free: 212 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.547, allocations: 4 kB / 1.337 GB, free: 208 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/1.547, allocations: 231.2 kB / 1.337 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.547, allocations: 3.984 kB / 1.337 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/1.548, allocations: 51.41 kB / 1.337 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.548, allocations: 3.938 kB / 1.337 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/1.548, allocations: 10.61 kB / 1.337 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.548, allocations: 0 / 1.337 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.548, allocations: 0 / 1.337 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.549, allocations: 294.4 kB / 1.338 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/1.549, allocations: 108.3 kB / 1.338 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/1.549, allocations: 7.875 kB / 1.338 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/1.55, allocations: 19.73 kB / 1.338 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/1.55, allocations: 11.98 kB / 1.338 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/1.55, allocations: 15.67 kB / 1.338 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001344/1.55, allocations: 121.7 kB / 1.338 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.55, allocations: 0 / 1.338 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005392/1.551, allocations: 55.38 kB / 1.338 GB, free: 15.3 MB / 0.8698 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 (20): * Single equations (assignments): 20 * 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.00155/1.552, allocations: 0.8651 MB / 1.339 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009375/1.553, allocations: 181.8 kB / 1.339 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.553, allocations: 0 / 1.339 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/1.554, allocations: 84.33 kB / 1.339 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/1.554, allocations: 58.72 kB / 1.339 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/1.558, allocations: 2.605 MB / 1.342 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/1.559, allocations: 0.7137 MB / 1.342 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000678/1.56, allocations: 61.84 kB / 1.343 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/1.56, allocations: 47.78 kB / 1.343 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/1.56, allocations: 0 / 1.343 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/1.586, allocations: 4.59 MB / 1.347 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/1.587, allocations: 222 kB / 1.347 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/4.096, allocations: 0 / 1.347 GB, free: 6.195 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)