Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001095/0.001095, allocations: 172.9 kB / 361.4 MB, free: 6.805 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.759/1.759, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008575/0.0008574, allocations: 94.64 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.446e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8294, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/2.071, allocations: 380.2 MB / 1.336 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/2.072, allocations: 76.22 kB / 1.336 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04545/2.117, allocations: 19.47 MB / 1.355 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.063e-06/2.117, allocations: 0 / 1.355 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.419e-05/2.117, allocations: 0 / 1.355 GB, free: 168.8 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.001031/2.118, allocations: 469.1 kB / 1.355 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/2.118, allocations: 12.03 kB / 1.355 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/2.119, allocations: 24.83 kB / 1.355 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/2.119, allocations: 221.7 kB / 1.356 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/2.119, allocations: 8 kB / 1.356 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/2.119, allocations: 8 kB / 1.356 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005181/2.119, allocations: 411.6 kB / 1.356 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/2.12, allocations: 209.9 kB / 1.356 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/2.12, allocations: 3.656 kB / 1.356 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/2.12, allocations: 11.97 kB / 1.356 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/2.12, allocations: 11.94 kB / 1.356 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/2.121, allocations: 0.937 MB / 1.357 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/2.121, allocations: 136.5 kB / 1.357 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/2.122, allocations: 56.14 kB / 1.357 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/2.123, allocations: 1.91 MB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/2.123, allocations: 34.56 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/2.123, allocations: 0 / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0005435/2.124, allocations: 137.6 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/2.124, allocations: 51.41 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/2.124, allocations: 136.2 kB / 1.359 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/2.124, allocations: 25.7 kB / 1.359 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.18e-05/2.124, allocations: 147.4 kB / 1.36 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/2.124, allocations: 48.77 kB / 1.36 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/2.124, allocations: 0 / 1.36 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.008e-05/2.124, allocations: 326.5 kB / 1.36 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/2.124, allocations: 35.05 kB / 1.36 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/2.124, allocations: 130.3 kB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/2.124, allocations: 78.19 kB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/2.124, allocations: 4 kB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004662/2.125, allocations: 202 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/2.125, allocations: 8 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/2.125, allocations: 4 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/2.125, allocations: 4 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/2.125, allocations: 60.25 kB / 1.36 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.203e-05/2.125, allocations: 19.92 kB / 1.361 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/2.125, allocations: 23.73 kB / 1.361 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/2.125, allocations: 8 kB / 1.361 GB, free: 162.8 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 0.0001025/2.126, allocations: 116.5 kB / 1.361 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004012/2.126, allocations: 132.6 kB / 1.361 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/2.126, allocations: 11.91 kB / 1.361 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/2.126, allocations: 175.1 kB / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/2.126, allocations: 11.95 kB / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/2.127, allocations: 2.438 kB / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/2.127, allocations: 3.938 kB / 1.361 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/2.127, allocations: 185.7 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/2.127, allocations: 0 / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/2.127, allocations: 27.98 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/2.127, allocations: 0 / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/2.127, allocations: 7.859 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/2.127, allocations: 4 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.127, allocations: 0 / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/2.127, allocations: 234.5 kB / 1.361 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/2.127, allocations: 116.1 kB / 1.362 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/2.128, allocations: 0 / 1.362 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/2.128, allocations: 7.984 kB / 1.362 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/2.128, allocations: 11.86 kB / 1.362 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/2.128, allocations: 8 kB / 1.362 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.487e-05/2.128, allocations: 106.1 kB / 1.362 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.3e-07/2.128, allocations: 4 kB / 1.362 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004788/2.128, allocations: 83.19 kB / 1.362 GB, free: 161.6 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.0008344/2.129, allocations: 0.8481 MB / 1.363 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002194/2.129, allocations: 103.1 kB / 1.363 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/2.129, allocations: 4.312 kB / 1.363 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/2.129, allocations: 35.81 kB / 1.363 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/2.13, allocations: 28.53 kB / 1.363 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/2.131, allocations: 230.8 kB / 1.363 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/2.131, allocations: 0.7172 MB / 1.364 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002065/2.131, allocations: 46.64 kB / 1.364 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/2.131, allocations: 45.92 kB / 1.364 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.343e-06/2.131, allocations: 0 / 1.364 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/2.159, allocations: 4.112 MB / 1.368 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/2.16, allocations: 136.7 kB / 1.368 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/3.9, allocations: 0 / 1.368 GB, free: 155.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)