Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.WaterProperties.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.239/5.239, allocations: 0.5623 GB / 0.5775 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002488/0.002488, allocations: 360.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.446/4.446, allocations: 410.7 MB / 1.113 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 180.3 kB / 1.226 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004943, allocations: 8 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7281, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.877, allocations: 380.8 MB / 1.833 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.878, allocations: 79.83 kB / 1.833 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06832/1.946, allocations: 19.55 MB / 1.852 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.956e-06/1.946, allocations: 2.656 kB / 1.852 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.307e-06/1.946, allocations: 0 / 1.852 GB, free: 144.9 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.0007899/1.947, allocations: 482.9 kB / 1.853 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.947, allocations: 11.62 kB / 1.853 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/1.947, allocations: 19.81 kB / 1.853 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/1.947, allocations: 218.1 kB / 1.853 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/1.947, allocations: 7.828 kB / 1.853 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/1.947, allocations: 17.59 kB / 1.853 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/1.948, allocations: 245.2 kB / 1.853 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.948, allocations: 0.6562 kB / 1.853 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/1.948, allocations: 11.11 kB / 1.853 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/1.948, allocations: 8 kB / 1.853 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/1.949, allocations: 433.2 kB / 1.854 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/1.95, allocations: 0.9511 MB / 1.855 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/1.95, allocations: 161.2 kB / 1.855 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/1.95, allocations: 52.47 kB / 1.855 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.952, allocations: 1.83 MB / 1.857 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/1.952, allocations: 41.89 kB / 1.857 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/1.952, allocations: 0.7188 kB / 1.857 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004274/1.952, allocations: 141.9 kB / 1.857 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.952, allocations: 59.56 kB / 1.857 GB, free: 140 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/1.953, allocations: 166.2 kB / 1.857 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/1.953, allocations: 28.27 kB / 1.857 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/1.953, allocations: 138 kB / 1.857 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/1.953, allocations: 52.58 kB / 1.857 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/1.953, allocations: 5 kB / 1.857 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/1.953, allocations: 327.9 kB / 1.858 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/1.953, allocations: 37.92 kB / 1.858 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/1.953, allocations: 136.9 kB / 1.858 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/1.953, allocations: 55.06 kB / 1.858 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.953, allocations: 7.938 kB / 1.858 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004251/1.954, allocations: 211.1 kB / 1.858 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.954, allocations: 4.812 kB / 1.858 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.954, allocations: 7.953 kB / 1.858 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.954, allocations: 11.97 kB / 1.858 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/1.954, allocations: 60.38 kB / 1.858 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.954, allocations: 7.984 kB / 1.858 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/1.954, allocations: 31.72 kB / 1.858 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/1.954, allocations: 20.47 kB / 1.858 GB, free: 138.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 () * 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.0001188/1.955, allocations: 130.8 kB / 1.858 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/1.955, allocations: 19.81 kB / 1.858 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/1.955, allocations: 155.5 kB / 1.858 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.955, allocations: 3.953 kB / 1.858 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.955, allocations: 1.281 kB / 1.858 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.955, allocations: 7.984 kB / 1.858 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/1.955, allocations: 212.1 kB / 1.859 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.955, allocations: 0.625 kB / 1.859 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/1.956, allocations: 28.58 kB / 1.859 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.956, allocations: 4 kB / 1.859 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/1.956, allocations: 7.281 kB / 1.859 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.956, allocations: 0 / 1.859 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.956, allocations: 3.953 kB / 1.859 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/1.956, allocations: 214.4 kB / 1.859 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/1.956, allocations: 112.3 kB / 1.859 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/1.956, allocations: 3.5 kB / 1.859 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/1.957, allocations: 10.05 kB / 1.859 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.957, allocations: 19.06 kB / 1.859 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/1.957, allocations: 7.688 kB / 1.859 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.533e-05/1.957, allocations: 122 kB / 1.859 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.342e-06/1.957, allocations: 0.9375 kB / 1.859 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005247/1.957, allocations: 82.86 kB / 1.859 GB, free: 137.7 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 () * 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.0003487/1.958, allocations: 198 kB / 1.859 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003098/1.958, allocations: 115.3 kB / 1.86 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.958, allocations: 0.9375 kB / 1.86 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.682e-05/1.958, allocations: 49.34 kB / 1.86 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/1.959, allocations: 45.69 kB / 1.86 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/1.96, allocations: 431.6 kB / 1.86 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/1.96, allocations: 0.7189 MB / 1.861 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003031/1.96, allocations: 40.39 kB / 1.861 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/1.96, allocations: 19.44 kB / 1.861 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/1.96, allocations: 0 / 1.861 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.009777/1.97, allocations: 3.432 MB / 1.864 GB, free: 132.9 MB / 0.8542 GB