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.756/1.756, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001117/0.001117, allocations: 183.3 kB / 371.6 MB, free: 3.414 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.649/1.649, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001165/0.001165, allocations: 88.83 kB / 0.745 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.79e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3236, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.522, allocations: 381.9 MB / 1.353 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.523, allocations: 72.75 kB / 1.353 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.7974/2.32, allocations: 19.56 MB / 1.372 GB, free: 277.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.974e-06/2.32, allocations: 0.625 kB / 1.372 GB, free: 277.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.116e-05/2.32, allocations: 7.688 kB / 1.372 GB, free: 277.7 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.0007644/2.321, allocations: 478.8 kB / 1.372 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/2.321, allocations: 10.03 kB / 1.372 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/2.321, allocations: 48.94 kB / 1.372 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/2.321, allocations: 24.89 kB / 1.373 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/2.322, allocations: 210.6 kB / 1.373 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/2.322, allocations: 13.02 kB / 1.373 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/2.322, allocations: 14.39 kB / 1.373 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/2.322, allocations: 240.2 kB / 1.373 GB, free: 277 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/2.322, allocations: 0.8438 kB / 1.373 GB, free: 277 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/2.322, allocations: 7.469 kB / 1.373 GB, free: 277 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/2.322, allocations: 7.5 kB / 1.373 GB, free: 277 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/2.323, allocations: 428.9 kB / 1.373 GB, free: 277 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/2.324, allocations: 0.9797 MB / 1.374 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/2.324, allocations: 157.8 kB / 1.374 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/2.324, allocations: 59.11 kB / 1.375 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/2.326, allocations: 1.927 MB / 1.376 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/2.326, allocations: 38.86 kB / 1.376 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/2.326, allocations: 0 / 1.376 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0003189/2.326, allocations: 122 kB / 1.377 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/2.326, allocations: 54.09 kB / 1.377 GB, free: 274.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/2.326, allocations: 154.4 kB / 1.377 GB, free: 274 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/2.326, allocations: 34.55 kB / 1.377 GB, free: 274 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/2.327, allocations: 138.4 kB / 1.377 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/2.327, allocations: 52.61 kB / 1.377 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/2.327, allocations: 2.938 kB / 1.377 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/2.327, allocations: 322.7 kB / 1.377 GB, free: 273.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/2.327, allocations: 36.17 kB / 1.377 GB, free: 273.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/2.327, allocations: 140.9 kB / 1.377 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/2.327, allocations: 55.91 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/2.327, allocations: 2.344 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003952/2.327, allocations: 205.9 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/2.328, allocations: 8.938 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/2.328, allocations: 3.969 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/2.328, allocations: 9.547 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/2.328, allocations: 59.55 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/2.328, allocations: 8.938 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/2.328, allocations: 29.5 kB / 1.378 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/2.328, allocations: 16.5 kB / 1.378 GB, free: 273.4 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 () * 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 7.991e-05/2.328, allocations: 122.3 kB / 1.378 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/2.328, allocations: 18.19 kB / 1.378 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/2.328, allocations: 153 kB / 1.378 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/2.328, allocations: 4.594 kB / 1.378 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/2.328, allocations: 4.578 kB / 1.378 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/2.329, allocations: 4.438 kB / 1.378 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/2.329, allocations: 213.1 kB / 1.378 GB, free: 273 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/2.329, allocations: 0 / 1.378 GB, free: 273 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/2.329, allocations: 36.48 kB / 1.378 GB, free: 273 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/2.329, allocations: 3.469 kB / 1.378 GB, free: 273 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/2.329, allocations: 5.016 kB / 1.378 GB, free: 273 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/2.329, allocations: 0.625 kB / 1.378 GB, free: 273 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.329, allocations: 0.625 kB / 1.378 GB, free: 273 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/2.329, allocations: 225.8 kB / 1.379 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/2.329, allocations: 119 kB / 1.379 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/2.329, allocations: 1.031 kB / 1.379 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/2.33, allocations: 14.5 kB / 1.379 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/2.33, allocations: 10.17 kB / 1.379 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/2.33, allocations: 18.14 kB / 1.379 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.282e-05/2.33, allocations: 116.5 kB / 1.379 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/2.33, allocations: 0 / 1.379 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004228/2.33, allocations: 81.34 kB / 1.379 GB, free: 272.7 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 () * 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.0006315/2.331, allocations: 0.8353 MB / 1.38 GB, free: 272 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002322/2.331, allocations: 116.7 kB / 1.38 GB, free: 272 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/2.331, allocations: 0 / 1.38 GB, free: 272 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/2.331, allocations: 48.16 kB / 1.38 GB, free: 272 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/2.331, allocations: 46.41 kB / 1.38 GB, free: 272 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/2.332, allocations: 236.9 kB / 1.38 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/2.332, allocations: 0.7208 MB / 1.381 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000191/2.333, allocations: 50.75 kB / 1.381 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/2.333, allocations: 49.27 kB / 1.381 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of SimCode: time 4.2e-07/2.333, allocations: 0 / 1.381 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/2.354, allocations: 5.08 MB / 1.386 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/2.354, allocations: 141.9 kB / 1.386 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/4.175, allocations: 1.031 kB / 1.386 GB, free: 270.5 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)