Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.341/2.341, allocations: 248.7 MB / 256.2 MB, free: 7 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.00147/0.001469, allocations: 187.1 kB / 315.4 MB, free: 3.969 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.07/2.07, allocations: 205.3 MB / 0.5662 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 90.3 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.045e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.437, allocations: 373.4 MB / 1.249 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.438, allocations: 66.72 kB / 1.249 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6714/2.109, allocations: 19.13 MB / 1.267 GB, free: 323.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.372e-06/2.109, allocations: 0 / 1.267 GB, free: 323.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.235e-05/2.109, allocations: 2.719 kB / 1.267 GB, free: 323.6 MB / 0.8698 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.000789/2.11, allocations: 464.7 kB / 1.268 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/2.11, allocations: 9.5 kB / 1.268 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/2.11, allocations: 36.12 kB / 1.268 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/2.111, allocations: 209.4 kB / 1.268 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/2.111, allocations: 4.781 kB / 1.268 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/2.111, allocations: 9.75 kB / 1.268 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008569/2.112, allocations: 410.5 kB / 1.269 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/2.112, allocations: 220.5 kB / 1.269 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/2.112, allocations: 0.875 kB / 1.269 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/2.112, allocations: 1 kB / 1.269 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/2.112, allocations: 6.781 kB / 1.269 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/2.114, allocations: 0.9835 MB / 1.27 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/2.114, allocations: 145.7 kB / 1.27 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/2.114, allocations: 52.19 kB / 1.27 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/2.116, allocations: 1.913 MB / 1.272 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/2.116, allocations: 39.89 kB / 1.272 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 3.657e-06/2.116, allocations: 0 / 1.272 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0007313/2.117, allocations: 139.7 kB / 1.272 GB, free: 320 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/2.117, allocations: 53.88 kB / 1.272 GB, free: 320 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/2.117, allocations: 136.4 kB / 1.272 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/2.117, allocations: 29.11 kB / 1.272 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/2.117, allocations: 142 kB / 1.272 GB, free: 319.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/2.117, allocations: 54.81 kB / 1.272 GB, free: 319.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/2.117, allocations: 0.8125 kB / 1.272 GB, free: 319.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/2.117, allocations: 321.2 kB / 1.273 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/2.117, allocations: 29 kB / 1.273 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/2.118, allocations: 138.6 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/2.118, allocations: 78.08 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/2.118, allocations: 2.062 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007619/2.119, allocations: 206.2 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/2.119, allocations: 5.844 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/2.119, allocations: 4.172 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/2.119, allocations: 10.11 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/2.119, allocations: 59.17 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/2.119, allocations: 7.516 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/2.12, allocations: 20.77 kB / 1.273 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/2.12, allocations: 16.95 kB / 1.273 GB, free: 319.2 MB / 0.8698 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.0001188/2.12, allocations: 111.3 kB / 1.273 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006148/2.12, allocations: 135 kB / 1.273 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/2.121, allocations: 22.61 kB / 1.273 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007489/2.121, allocations: 168.9 kB / 1.274 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/2.121, allocations: 2.438 kB / 1.274 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.121, allocations: 0.7812 kB / 1.274 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/2.121, allocations: 1.672 kB / 1.274 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/2.122, allocations: 181.1 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/2.122, allocations: 5.5 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/2.122, allocations: 29.83 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/2.122, allocations: 0.6562 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/2.122, allocations: 3.734 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/2.122, allocations: 3.953 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.122, allocations: 1.469 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/2.123, allocations: 238.3 kB / 1.274 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/2.123, allocations: 112.3 kB / 1.274 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/2.123, allocations: 5.547 kB / 1.274 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/2.123, allocations: 5.359 kB / 1.274 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/2.123, allocations: 13 kB / 1.274 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/2.123, allocations: 15.48 kB / 1.274 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.242e-05/2.123, allocations: 102.8 kB / 1.274 GB, free: 318.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/2.123, allocations: 0 / 1.274 GB, free: 318.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006678/2.124, allocations: 77.58 kB / 1.274 GB, free: 318.5 MB / 0.8698 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.001105/2.125, allocations: 0.8522 MB / 1.275 GB, free: 317.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003362/2.125, allocations: 100.8 kB / 1.275 GB, free: 317.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.125, allocations: 0 / 1.275 GB, free: 317.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.983e-05/2.126, allocations: 40.58 kB / 1.275 GB, free: 317.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/2.126, allocations: 31.86 kB / 1.275 GB, free: 317.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/2.127, allocations: 218.4 kB / 1.276 GB, free: 317.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/2.127, allocations: 0.717 MB / 1.276 GB, free: 317 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003013/2.128, allocations: 49.22 kB / 1.276 GB, free: 317 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/2.128, allocations: 43.22 kB / 1.276 GB, free: 316.9 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/2.128, allocations: 0 / 1.276 GB, free: 316.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/2.172, allocations: 4.082 MB / 1.28 GB, free: 316.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/2.173, allocations: 126.9 kB / 1.28 GB, free: 316.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/4.608, allocations: 0 / 1.28 GB, free: 316.4 MB / 0.8698 GB