Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.6 MB / 307.5 MB, free: 5.121 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.001042/0.001043, allocations: 180.5 kB / 377.1 MB, free: 1.438 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.598/1.598, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.0009248/0.0009249, allocations: 93.39 kB / 0.7509 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9876/1.276, allocations: 345.6 MB / 1.326 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.276, allocations: 83.48 kB / 1.326 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04402/1.32, allocations: 16.27 MB / 1.342 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.394e-06/1.32, allocations: 0 / 1.342 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.548e-05/1.32, allocations: 4 kB / 1.342 GB, free: 12.35 MB / 0.9167 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.00116/1.321, allocations: 0.493 MB / 1.342 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/1.321, allocations: 8.031 kB / 1.342 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.666e-05/1.322, allocations: 54.55 kB / 1.342 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.324, allocations: 177.6 kB / 1.343 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/1.324, allocations: 208 kB / 1.343 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/1.324, allocations: 8.328 kB / 1.343 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/1.324, allocations: 19.44 kB / 1.343 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/1.325, allocations: 299.7 kB / 1.343 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.325, allocations: 0 / 1.343 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/1.325, allocations: 8 kB / 1.343 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/1.325, allocations: 7.984 kB / 1.343 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/1.326, allocations: 259.6 kB / 1.343 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/1.328, allocations: 1.392 MB / 1.345 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/1.329, allocations: 198.4 kB / 1.345 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/1.329, allocations: 3.984 kB / 1.345 GB, free: 9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/1.329, allocations: 38.56 kB / 1.345 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/1.329, allocations: 0.5625 kB / 1.345 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0008137/1.33, allocations: 240.2 kB / 1.345 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/1.33, allocations: 55.41 kB / 1.345 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/1.33, allocations: 156.4 kB / 1.345 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/1.33, allocations: 29.7 kB / 1.345 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/1.33, allocations: 128 kB / 1.346 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/1.33, allocations: 63.89 kB / 1.346 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/1.33, allocations: 4 kB / 1.346 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.33, allocations: 326.8 kB / 1.346 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/1.331, allocations: 60.42 kB / 1.346 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/1.331, allocations: 142.3 kB / 1.346 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/1.331, allocations: 75.92 kB / 1.346 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.331, allocations: 0 / 1.346 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000581/1.332, allocations: 247.4 kB / 1.346 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.332, allocations: 8 kB / 1.346 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.332, allocations: 4.562 kB / 1.346 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/1.332, allocations: 4 kB / 1.346 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/1.332, allocations: 72.81 kB / 1.347 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/1.332, allocations: 7.938 kB / 1.347 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/1.332, allocations: 31.73 kB / 1.347 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/1.332, allocations: 15.95 kB / 1.347 GB, free: 7.238 MB / 0.9167 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.0001528/1.333, allocations: 128.2 kB / 1.347 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/1.333, allocations: 15.81 kB / 1.347 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/1.333, allocations: 227.4 kB / 1.347 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.333, allocations: 8 kB / 1.347 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.333, allocations: 0 / 1.347 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.333, allocations: 3.984 kB / 1.347 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/1.334, allocations: 237.6 kB / 1.347 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.334, allocations: 1.031 kB / 1.347 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/1.334, allocations: 60.77 kB / 1.347 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.334, allocations: 3.938 kB / 1.347 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.334, allocations: 4 kB / 1.347 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.334, allocations: 0 / 1.347 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.334, allocations: 4 kB / 1.347 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/1.335, allocations: 289 kB / 1.348 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.335, allocations: 112.8 kB / 1.348 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/1.335, allocations: 8.5 kB / 1.348 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/1.335, allocations: 15.98 kB / 1.348 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/1.335, allocations: 15.92 kB / 1.348 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/1.335, allocations: 13.48 kB / 1.348 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.943e-05/1.335, allocations: 117 kB / 1.348 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.335, allocations: 0 / 1.348 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003928/1.336, allocations: 59.97 kB / 1.348 GB, free: 5.852 MB / 0.9167 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.0009105/1.337, allocations: 0.8667 MB / 1.349 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005131/1.337, allocations: 175.8 kB / 1.349 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.337, allocations: 0 / 1.349 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/1.337, allocations: 96.5 kB / 1.349 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/1.338, allocations: 49.28 kB / 1.349 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/1.341, allocations: 2.594 MB / 1.352 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/1.341, allocations: 0.7215 MB / 1.352 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003571/1.341, allocations: 54.8 kB / 1.352 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/1.341, allocations: 47.42 kB / 1.352 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/1.341, allocations: 4 kB / 1.352 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/1.36, allocations: 4.589 MB / 1.357 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/1.36, allocations: 215.5 kB / 1.357 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/3.192, allocations: 0 / 1.357 GB, free: 12.5 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)