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.578/1.578, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 184.7 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001009/0.001009, allocations: 99.84 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004425, allocations: 8.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.278, allocations: 373.3 MB / 1.265 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.279, allocations: 73.28 kB / 1.265 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.04501/1.324, allocations: 19.3 MB / 1.284 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.727e-06/1.324, allocations: 3.984 kB / 1.284 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.37e-05/1.324, allocations: 4 kB / 1.284 GB, free: 10.26 MB / 0.7917 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.0008208/1.325, allocations: 474.4 kB / 1.284 GB, free: 9.758 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.325, allocations: 8.031 kB / 1.284 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/1.325, allocations: 53.86 kB / 1.284 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/1.325, allocations: 19.81 kB / 1.284 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/1.325, allocations: 210.6 kB / 1.284 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/1.325, allocations: 16.08 kB / 1.284 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/1.325, allocations: 23.38 kB / 1.284 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/1.326, allocations: 237.7 kB / 1.285 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.326, allocations: 3.984 kB / 1.285 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/1.326, allocations: 11.44 kB / 1.285 GB, free: 9.207 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/1.326, allocations: 11.94 kB / 1.285 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/1.326, allocations: 422.3 kB / 1.285 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/1.327, allocations: 1.031 MB / 1.286 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/1.328, allocations: 160.4 kB / 1.286 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/1.33, allocations: 1.842 MB / 1.288 GB, free: 5.531 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/1.33, allocations: 42.52 kB / 1.288 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/1.33, allocations: 0 / 1.288 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0003839/1.33, allocations: 146.4 kB / 1.288 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.33, allocations: 51.41 kB / 1.288 GB, free: 5.293 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/1.33, allocations: 151.3 kB / 1.288 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/1.33, allocations: 33.2 kB / 1.288 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/1.331, allocations: 141.4 kB / 1.289 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/1.331, allocations: 54.03 kB / 1.289 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/1.331, allocations: 7.188 kB / 1.289 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.331, allocations: 326.1 kB / 1.289 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/1.331, allocations: 30.98 kB / 1.289 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/1.331, allocations: 143.1 kB / 1.289 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/1.331, allocations: 53.12 kB / 1.289 GB, free: 4.371 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.331, allocations: 4 kB / 1.289 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003353/1.331, allocations: 218.3 kB / 1.289 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.332, allocations: 11.94 kB / 1.289 GB, free: 4.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.332, allocations: 4 kB / 1.289 GB, free: 4.168 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/1.332, allocations: 7.953 kB / 1.289 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/1.332, allocations: 55.91 kB / 1.289 GB, free: 4.105 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.332, allocations: 7.938 kB / 1.289 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/1.332, allocations: 34.86 kB / 1.289 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/1.332, allocations: 15.38 kB / 1.289 GB, free: 4.055 MB / 0.7917 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.0001457/1.332, allocations: 129 kB / 1.29 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/1.332, allocations: 15.81 kB / 1.29 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/1.333, allocations: 157.3 kB / 1.29 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/1.333, allocations: 7.953 kB / 1.29 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.333, allocations: 0 / 1.29 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.333, allocations: 3.984 kB / 1.29 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/1.333, allocations: 210.3 kB / 1.29 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.333, allocations: 0 / 1.29 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/1.333, allocations: 35.55 kB / 1.29 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.333, allocations: 0 / 1.29 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.333, allocations: 7.984 kB / 1.29 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.333, allocations: 4 kB / 1.29 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.333, allocations: 7.938 kB / 1.29 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/1.333, allocations: 219.9 kB / 1.29 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.334, allocations: 115.3 kB / 1.29 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.334, allocations: 0 / 1.29 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/1.334, allocations: 15.31 kB / 1.29 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/1.334, allocations: 7.984 kB / 1.29 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/1.334, allocations: 23.55 kB / 1.29 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.845e-05/1.334, allocations: 115.1 kB / 1.291 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/1.334, allocations: 3.938 kB / 1.291 GB, free: 3.004 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004381/1.334, allocations: 86.52 kB / 1.291 GB, free: 2.93 MB / 0.7917 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.0007064/1.335, allocations: 0.8288 MB / 1.291 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00023/1.335, allocations: 113.4 kB / 1.292 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.335, allocations: 4 kB / 1.292 GB, free: 2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/1.335, allocations: 42.3 kB / 1.292 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/1.336, allocations: 46.08 kB / 1.292 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/1.339, allocations: 3.255 MB / 1.295 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.339, allocations: 0.7172 MB / 1.295 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001952/1.339, allocations: 49.75 kB / 1.296 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/1.339, allocations: 45.11 kB / 1.296 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/1.339, allocations: 0 / 1.296 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/1.358, allocations: 4.994 MB / 1.3 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.359, allocations: 174.6 kB / 1.301 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.202, allocations: 3.938 kB / 1.301 GB, free: 8.773 MB / 0.8073 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)