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.526/2.526, allocations: 251 MB / 265.9 MB, free: 11.68 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.001593/0.001593, allocations: 180.4 kB / 325.5 MB, free: 2.891 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.451/2.451, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001165/0.001164, allocations: 100 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008847/0.0008846, allocations: 15.59 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2542, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.512, allocations: 373.2 MB / 1.263 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.512, allocations: 67.84 kB / 1.263 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.07554/1.587, allocations: 19.29 MB / 1.282 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.575e-06/1.588, allocations: 0 / 1.282 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.588, allocations: 4 kB / 1.282 GB, free: 13.2 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.0009252/1.588, allocations: 492.9 kB / 1.283 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.589, allocations: 8.031 kB / 1.283 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/1.589, allocations: 48.98 kB / 1.283 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/1.589, allocations: 27.77 kB / 1.283 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/1.589, allocations: 208.6 kB / 1.283 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/1.589, allocations: 8.141 kB / 1.283 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/1.589, allocations: 15.88 kB / 1.283 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/1.59, allocations: 246.9 kB / 1.283 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.59, allocations: 0 / 1.283 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/1.59, allocations: 11.3 kB / 1.283 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/1.59, allocations: 4 kB / 1.283 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/1.591, allocations: 431.4 kB / 1.284 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/1.592, allocations: 1.031 MB / 1.285 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/1.593, allocations: 165.2 kB / 1.285 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/1.595, allocations: 1.835 MB / 1.287 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/1.595, allocations: 38.25 kB / 1.287 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/1.595, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0005047/1.595, allocations: 150 kB / 1.287 GB, free: 8.285 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/1.595, allocations: 55.41 kB / 1.287 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/1.596, allocations: 149.3 kB / 1.287 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/1.596, allocations: 29.45 kB / 1.287 GB, free: 8.039 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.596, allocations: 145.7 kB / 1.287 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/1.596, allocations: 50.17 kB / 1.287 GB, free: 7.859 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/1.596, allocations: 3.875 kB / 1.287 GB, free: 7.859 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.596, allocations: 326 kB / 1.287 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/1.596, allocations: 35.72 kB / 1.287 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/1.596, allocations: 143.8 kB / 1.288 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/1.596, allocations: 62.48 kB / 1.288 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.597, allocations: 0 / 1.288 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005386/1.597, allocations: 209.2 kB / 1.288 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.597, allocations: 13.67 kB / 1.288 GB, free: 7.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.597, allocations: 4.469 kB / 1.288 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.597, allocations: 8 kB / 1.288 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/1.598, allocations: 63.09 kB / 1.288 GB, free: 7.027 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.598, allocations: 7.938 kB / 1.288 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/1.598, allocations: 27.31 kB / 1.288 GB, free: 6.996 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/1.598, allocations: 15.98 kB / 1.288 GB, free: 6.98 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.0001464/1.598, allocations: 128.4 kB / 1.288 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/1.598, allocations: 15.81 kB / 1.288 GB, free: 6.84 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/1.599, allocations: 163.8 kB / 1.288 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.599, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.599, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.599, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/1.599, allocations: 220 kB / 1.288 GB, free: 6.453 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.599, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/1.599, allocations: 31.92 kB / 1.289 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.599, allocations: 4 kB / 1.289 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/1.599, allocations: 3.5 kB / 1.289 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.599, allocations: 3.953 kB / 1.289 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.599, allocations: 7.984 kB / 1.289 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/1.6, allocations: 211.1 kB / 1.289 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/1.6, allocations: 119.6 kB / 1.289 GB, free: 6.078 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/1.6, allocations: 0 / 1.289 GB, free: 6.078 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/1.6, allocations: 7.625 kB / 1.289 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/1.6, allocations: 15.88 kB / 1.289 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/1.6, allocations: 15.48 kB / 1.289 GB, free: 6.047 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001209/1.6, allocations: 121.3 kB / 1.289 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.81e-07/1.6, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005936/1.601, allocations: 90.84 kB / 1.289 GB, free: 5.863 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.0009843/1.602, allocations: 0.828 MB / 1.29 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003497/1.602, allocations: 118.3 kB / 1.29 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.602, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/1.603, allocations: 47.34 kB / 1.29 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/1.603, allocations: 45.28 kB / 1.29 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/1.606, allocations: 3.257 MB / 1.293 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/1.607, allocations: 0.7172 MB / 1.294 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003459/1.607, allocations: 53.72 kB / 1.294 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.607, allocations: 49.42 kB / 1.294 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of SimCode: time 1.173e-06/1.607, allocations: 0 / 1.294 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/1.636, allocations: 5 MB / 1.299 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/1.636, allocations: 171.2 kB / 1.299 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/4.194, allocations: 0 / 1.299 GB, free: 11.67 MB / 0.8073 GB