Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",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.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001165/0.001164, allocations: 189 kB / 377.1 MB, free: 1.535 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.741/1.741, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.0009435/0.0009435, allocations: 87.67 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004089, allocations: 15.98 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.382, allocations: 382 MB / 1.361 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.382, allocations: 68.58 kB / 1.361 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.6777/2.06, allocations: 19.62 MB / 1.381 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.327e-06/2.06, allocations: 3.938 kB / 1.381 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.015e-05/2.06, allocations: 7.406 kB / 1.381 GB, free: 280.5 MB / 0.9323 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.0009962/2.061, allocations: 481 kB / 1.381 GB, free: 280.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/2.061, allocations: 13.86 kB / 1.381 GB, free: 280.1 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.521e-05/2.061, allocations: 52.38 kB / 1.381 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/2.062, allocations: 24.41 kB / 1.381 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/2.062, allocations: 212.6 kB / 1.381 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/2.062, allocations: 16.23 kB / 1.381 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/2.062, allocations: 13.19 kB / 1.381 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/2.063, allocations: 243.2 kB / 1.382 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/2.063, allocations: 1.094 kB / 1.382 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/2.063, allocations: 8.531 kB / 1.382 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/2.063, allocations: 11.17 kB / 1.382 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/2.063, allocations: 427.3 kB / 1.382 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/2.065, allocations: 0.9863 MB / 1.383 GB, free: 279 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/2.065, allocations: 164.4 kB / 1.383 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/2.067, allocations: 1.834 MB / 1.385 GB, free: 277 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/2.067, allocations: 39.78 kB / 1.385 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/2.067, allocations: 0 / 1.385 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.000423/2.067, allocations: 148.2 kB / 1.385 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/2.067, allocations: 57.5 kB / 1.385 GB, free: 276.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/2.068, allocations: 152.2 kB / 1.385 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/2.068, allocations: 27.14 kB / 1.385 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/2.068, allocations: 142.4 kB / 1.386 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/2.068, allocations: 54.55 kB / 1.386 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/2.068, allocations: 5.062 kB / 1.386 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/2.068, allocations: 329.7 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/2.068, allocations: 35.56 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/2.068, allocations: 142.8 kB / 1.386 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/2.068, allocations: 58.69 kB / 1.386 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/2.068, allocations: 1.844 kB / 1.386 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004341/2.069, allocations: 206.3 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/2.069, allocations: 6.844 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/2.069, allocations: 7.812 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/2.069, allocations: 5.75 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/2.069, allocations: 64.77 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/2.069, allocations: 9.859 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/2.069, allocations: 33.81 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/2.069, allocations: 11.92 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001245/2.069, allocations: 137 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/2.069, allocations: 17.52 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/2.07, allocations: 158.2 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/2.07, allocations: 1.781 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/2.07, allocations: 4.766 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/2.07, allocations: 1.266 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/2.07, allocations: 214.4 kB / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/2.07, allocations: 0 / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/2.07, allocations: 27.73 kB / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/2.07, allocations: 4.719 kB / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/2.07, allocations: 3.781 kB / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/2.07, allocations: 1.656 kB / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.07, allocations: 0.8125 kB / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/2.071, allocations: 226.5 kB / 1.387 GB, free: 275.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/2.071, allocations: 115.6 kB / 1.387 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/2.071, allocations: 4.656 kB / 1.387 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/2.071, allocations: 15.89 kB / 1.387 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/2.071, allocations: 16.36 kB / 1.387 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/2.071, allocations: 11.66 kB / 1.387 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001038/2.071, allocations: 116.1 kB / 1.387 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.071, allocations: 0.7188 kB / 1.387 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000545/2.072, allocations: 84.66 kB / 1.388 GB, free: 275.2 MB / 0.9323 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008033/2.073, allocations: 0.8339 MB / 1.388 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003232/2.073, allocations: 120.2 kB / 1.389 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.073, allocations: 4.656 kB / 1.389 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/2.073, allocations: 51.19 kB / 1.389 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/2.074, allocations: 49.78 kB / 1.389 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/2.076, allocations: 3.247 MB / 1.392 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/2.076, allocations: 0.7147 MB / 1.392 GB, free: 271 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000244/2.076, allocations: 47.41 kB / 1.393 GB, free: 271 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/2.077, allocations: 49.94 kB / 1.393 GB, free: 271 MB / 0.9323 GB Notification: Performance of SimCode: time 6.51e-07/2.077, allocations: 1.531 kB / 1.393 GB, free: 271 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/2.098, allocations: 5.052 MB / 1.398 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/2.098, allocations: 166.2 kB / 1.398 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/3.962, allocations: 0 / 1.398 GB, free: 270.3 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)