Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",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.528/1.528, allocations: 249.3 MB / 261.8 MB, free: 5.883 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.001027/0.001027, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008731/0.0008731, allocations: 90.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.287e-05/6.289e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.72/1.968, allocations: 373.3 MB / 1.256 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/1.969, allocations: 69.34 kB / 1.256 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05517/2.024, allocations: 19.23 MB / 1.275 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/2.024, allocations: 0 / 1.275 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.14e-05/2.024, allocations: 3.094 kB / 1.275 GB, free: 306.5 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.0007413/2.025, allocations: 472.6 kB / 1.276 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/2.025, allocations: 9.344 kB / 1.276 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/2.025, allocations: 51.81 kB / 1.276 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/2.025, allocations: 20.41 kB / 1.276 GB, free: 306 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/2.025, allocations: 218.7 kB / 1.276 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/2.025, allocations: 9.953 kB / 1.276 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/2.025, allocations: 18.75 kB / 1.276 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/2.025, allocations: 240.7 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/2.025, allocations: 1.281 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/2.026, allocations: 6.844 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/2.026, allocations: 12.89 kB / 1.276 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/2.026, allocations: 427.6 kB / 1.277 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/2.027, allocations: 1.026 MB / 1.278 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/2.027, allocations: 162.2 kB / 1.278 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/2.028, allocations: 56.3 kB / 1.278 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/2.029, allocations: 1.923 MB / 1.28 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/2.029, allocations: 44.61 kB / 1.28 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.866e-06/2.029, allocations: 0 / 1.28 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002825/2.029, allocations: 115.1 kB / 1.28 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/2.029, allocations: 57.89 kB / 1.28 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/2.029, allocations: 149.3 kB / 1.28 GB, free: 302.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/2.029, allocations: 32.05 kB / 1.28 GB, free: 302 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/2.029, allocations: 140 kB / 1.28 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/2.03, allocations: 53.5 kB / 1.28 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/2.03, allocations: 9.656 kB / 1.28 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001125/2.03, allocations: 321.5 kB / 1.281 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/2.03, allocations: 36.7 kB / 1.281 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/2.03, allocations: 139.2 kB / 1.281 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/2.03, allocations: 58.34 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/2.03, allocations: 1.312 kB / 1.281 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003513/2.03, allocations: 207.3 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/2.03, allocations: 6.469 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/2.03, allocations: 10.52 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/2.03, allocations: 10.61 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/2.031, allocations: 55.98 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/2.031, allocations: 10.11 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/2.031, allocations: 33.69 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/2.031, allocations: 9.562 kB / 1.281 GB, free: 301.2 MB / 0.8542 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 () * 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 8.278e-05/2.031, allocations: 123 kB / 1.281 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/2.031, allocations: 11 kB / 1.281 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/2.031, allocations: 159.4 kB / 1.281 GB, free: 301 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/2.031, allocations: 5.203 kB / 1.281 GB, free: 301 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/2.031, allocations: 1 kB / 1.281 GB, free: 301 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/2.031, allocations: 3.984 kB / 1.281 GB, free: 301 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/2.032, allocations: 218 kB / 1.282 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/2.032, allocations: 0 / 1.282 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/2.032, allocations: 31.83 kB / 1.282 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/2.032, allocations: 0 / 1.282 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/2.032, allocations: 6.797 kB / 1.282 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/2.032, allocations: 0 / 1.282 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/2.032, allocations: 5.484 kB / 1.282 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/2.032, allocations: 217.7 kB / 1.282 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/2.032, allocations: 122.5 kB / 1.282 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/2.032, allocations: 1.531 kB / 1.282 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/2.032, allocations: 17.3 kB / 1.282 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/2.032, allocations: 12.16 kB / 1.282 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/2.032, allocations: 10.31 kB / 1.282 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.846e-05/2.032, allocations: 113.1 kB / 1.282 GB, free: 300.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/2.032, allocations: 0 / 1.282 GB, free: 300.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000464/2.033, allocations: 81.64 kB / 1.282 GB, free: 300.3 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 (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.0006378/2.034, allocations: 0.8322 MB / 1.283 GB, free: 299.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002524/2.034, allocations: 124.2 kB / 1.283 GB, free: 299.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.034, allocations: 5.453 kB / 1.283 GB, free: 299.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/2.034, allocations: 37.59 kB / 1.283 GB, free: 299.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/2.034, allocations: 51.38 kB / 1.283 GB, free: 299.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/2.035, allocations: 237 kB / 1.284 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/2.035, allocations: 0.718 MB / 1.284 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001833/2.036, allocations: 45.64 kB / 1.284 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/2.036, allocations: 44.58 kB / 1.284 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/2.036, allocations: 0 / 1.284 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/2.053, allocations: 5.047 MB / 1.289 GB, free: 296 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/2.054, allocations: 146.8 kB / 1.289 GB, free: 295.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/3.892, allocations: 0 / 1.289 GB, free: 295.8 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)