Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.156/5.156, allocations: 0.5623 GB / 0.5775 GB, free: 3.383 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.002512/0.002512, allocations: 356.7 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.402/4.402, allocations: 410.7 MB / 1.113 GB, free: 6.004 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.001814/0.001814, allocations: 193.9 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004995, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7337/0.7342, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.88, allocations: 366.9 MB / 1.82 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.881, allocations: 72.16 kB / 1.82 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04496/1.926, allocations: 13.03 MB / 1.832 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/1.926, allocations: 0 / 1.832 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.926, allocations: 0 / 1.832 GB, free: 163.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003531/1.926, allocations: 341.3 kB / 1.833 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.926, allocations: 16.77 kB / 1.833 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/1.926, allocations: 4 kB / 1.833 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.272e-05/1.926, allocations: 170.9 kB / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.926, allocations: 5.125 kB / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/1.926, allocations: 12.47 kB / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/1.927, allocations: 54.78 kB / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.927, allocations: 1.359 kB / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/1.927, allocations: 3.938 kB / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.927, allocations: 0 / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/1.927, allocations: 16.58 kB / 1.833 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/1.927, allocations: 169.4 kB / 1.833 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/1.927, allocations: 51.16 kB / 1.833 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/1.927, allocations: 21.12 kB / 1.833 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008078/1.928, allocations: 0.5984 MB / 1.834 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/1.928, allocations: 34.84 kB / 1.834 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/1.928, allocations: 0.625 kB / 1.834 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000649/1.929, allocations: 304.2 kB / 1.834 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/1.929, allocations: 57.44 kB / 1.834 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/1.929, allocations: 100.8 kB / 1.834 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/1.929, allocations: 29.45 kB / 1.834 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/1.929, allocations: 84.05 kB / 1.834 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/1.929, allocations: 27.77 kB / 1.834 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/1.929, allocations: 3.562 kB / 1.834 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.995e-05/1.929, allocations: 319.8 kB / 1.835 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/1.929, allocations: 11.89 kB / 1.835 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/1.929, allocations: 53.11 kB / 1.835 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/1.929, allocations: 22.44 kB / 1.835 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.929, allocations: 0 / 1.835 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001787/1.929, allocations: 96.14 kB / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.929, allocations: 10.75 kB / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.929, allocations: 0 / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/1.929, allocations: 7.953 kB / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/1.929, allocations: 27.92 kB / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.929, allocations: 0 / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/1.93, allocations: 4 kB / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.93, allocations: 4 kB / 1.835 GB, free: 161 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 7.441e-05/1.93, allocations: 119.9 kB / 1.835 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/1.93, allocations: 0 / 1.835 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/1.93, allocations: 15.59 kB / 1.835 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.93, allocations: 3.953 kB / 1.835 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.93, allocations: 0 / 1.835 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/1.93, allocations: 5.984 kB / 1.835 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/1.93, allocations: 173.6 kB / 1.835 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.93, allocations: 3.938 kB / 1.835 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/1.93, allocations: 12 kB / 1.835 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.93, allocations: 4 kB / 1.835 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/1.93, allocations: 0.6875 kB / 1.835 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.93, allocations: 0 / 1.835 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.93, allocations: 5.047 kB / 1.835 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/1.931, allocations: 178.2 kB / 1.835 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/1.931, allocations: 85.14 kB / 1.836 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/1.931, allocations: 0 / 1.836 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/1.931, allocations: 4 kB / 1.836 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/1.931, allocations: 3.281 kB / 1.836 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.931, allocations: 11.94 kB / 1.836 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.942e-05/1.931, allocations: 79.38 kB / 1.836 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.2e-07/1.931, allocations: 0 / 1.836 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003533/1.931, allocations: 14.12 kB / 1.836 GB, free: 160.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0002096/1.932, allocations: 128.6 kB / 1.836 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001481/1.932, allocations: 44.55 kB / 1.836 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.932, allocations: 4.531 kB / 1.836 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/1.932, allocations: 11.94 kB / 1.836 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/1.932, allocations: 7.938 kB / 1.836 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/1.933, allocations: 392.8 kB / 1.836 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/1.933, allocations: 0.6809 MB / 1.837 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.736e-05/1.933, allocations: 11.23 kB / 1.837 GB, free: 159 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/1.933, allocations: 11.44 kB / 1.837 GB, free: 159 MB / 0.8542 GB Notification: Performance of SimCode: time 1.123e-06/1.933, allocations: 3.938 kB / 1.837 GB, free: 159 MB / 0.8542 GB Notification: Performance of Templates: time 0.004169/1.937, allocations: 0.8552 MB / 1.838 GB, free: 158.3 MB / 0.8542 GB