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.637/2.637, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001499/0.001499, allocations: 176.8 kB / 360.6 MB, free: 7.273 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.26/2.26, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001022/0.001022, allocations: 94.86 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.49e-05, allocations: 0 / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8347, allocations: 115.2 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/2.074, allocations: 345.2 MB / 1.301 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/2.074, allocations: 75.83 kB / 1.301 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06434/2.139, allocations: 16.17 MB / 1.316 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.215e-06/2.139, allocations: 0.8125 kB / 1.316 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.718e-05/2.139, allocations: 3.188 kB / 1.316 GB, free: 187.7 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.0009317/2.14, allocations: 488.2 kB / 1.317 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/2.14, allocations: 10.69 kB / 1.317 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/2.143, allocations: 172 kB / 1.317 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/2.143, allocations: 210.5 kB / 1.317 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/2.143, allocations: 13.55 kB / 1.317 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/2.143, allocations: 8.562 kB / 1.317 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006356/2.144, allocations: 198.3 kB / 1.317 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/2.144, allocations: 231 kB / 1.318 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/2.144, allocations: 1 kB / 1.318 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/2.144, allocations: 0.9688 kB / 1.318 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/2.144, allocations: 5.688 kB / 1.318 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/2.147, allocations: 1.338 MB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/2.147, allocations: 143.2 kB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/2.147, allocations: 56.33 kB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/2.147, allocations: 5.234 kB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/2.147, allocations: 44.25 kB / 1.319 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.327e-06/2.147, allocations: 0 / 1.319 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0004816/2.148, allocations: 140.5 kB / 1.319 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/2.148, allocations: 52.72 kB / 1.319 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/2.148, allocations: 128 kB / 1.32 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/2.148, allocations: 31.14 kB / 1.32 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/2.148, allocations: 128.7 kB / 1.32 GB, free: 185 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/2.148, allocations: 58.86 kB / 1.32 GB, free: 185 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/2.148, allocations: 5.438 kB / 1.32 GB, free: 185 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/2.148, allocations: 328.8 kB / 1.32 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/2.149, allocations: 41.34 kB / 1.32 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/2.149, allocations: 121.4 kB / 1.32 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/2.149, allocations: 56.09 kB / 1.32 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.149, allocations: 0 / 1.32 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004878/2.149, allocations: 200.3 kB / 1.32 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/2.149, allocations: 6.781 kB / 1.32 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.149, allocations: 1.375 kB / 1.32 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/2.149, allocations: 5.406 kB / 1.32 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/2.15, allocations: 69.52 kB / 1.321 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/2.15, allocations: 7.25 kB / 1.321 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/2.151, allocations: 26.64 kB / 1.321 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/2.151, allocations: 12.14 kB / 1.321 GB, free: 184.4 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 () * 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.0001148/2.151, allocations: 119 kB / 1.321 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003957/2.151, allocations: 145.6 kB / 1.321 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/2.151, allocations: 18.27 kB / 1.321 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/2.152, allocations: 184.2 kB / 1.321 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/2.152, allocations: 1.406 kB / 1.321 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/2.152, allocations: 1.594 kB / 1.321 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/2.152, allocations: 0 / 1.321 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/2.152, allocations: 213.7 kB / 1.321 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/2.152, allocations: 4 kB / 1.321 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/2.153, allocations: 50.94 kB / 1.321 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/2.153, allocations: 3.938 kB / 1.321 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/2.153, allocations: 5.859 kB / 1.321 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/2.153, allocations: 1.188 kB / 1.321 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/2.153, allocations: 0 / 1.321 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/2.153, allocations: 253.1 kB / 1.322 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/2.154, allocations: 112.3 kB / 1.322 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/2.154, allocations: 0 / 1.322 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/2.154, allocations: 11.45 kB / 1.322 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/2.154, allocations: 10.77 kB / 1.322 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/2.154, allocations: 13.02 kB / 1.322 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.118e-05/2.154, allocations: 97.12 kB / 1.322 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.643e-06/2.154, allocations: 0 / 1.322 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005993/2.155, allocations: 64.61 kB / 1.322 GB, free: 183.6 MB / 0.8542 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 (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.0007809/2.156, allocations: 0.8043 MB / 1.323 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000466/2.156, allocations: 135.2 kB / 1.323 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/2.156, allocations: 0 / 1.323 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/2.157, allocations: 72.03 kB / 1.323 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/2.157, allocations: 44.84 kB / 1.323 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/2.158, allocations: 245.8 kB / 1.323 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/2.159, allocations: 0.7259 MB / 1.324 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006114/2.159, allocations: 47.06 kB / 1.324 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/2.16, allocations: 45.94 kB / 1.324 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/2.16, allocations: 0 / 1.324 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/2.207, allocations: 3.739 MB / 1.328 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/2.207, allocations: 183.7 kB / 1.328 GB, free: 180 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/4.616, allocations: 2.391 kB / 1.328 GB, free: 180 MB / 0.8542 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)