Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 252.6 MB / 265.2 MB, free: 5.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 179.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.5753 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 94.08 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.424e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1969, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.392, allocations: 359.3 MB / 1.246 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.393, allocations: 65.03 kB / 1.246 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6284/2.021, allocations: 12.7 MB / 1.258 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.523e-06/2.021, allocations: 11.88 kB / 1.258 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.253e-06/2.021, allocations: 1.031 kB / 1.258 GB, free: 309.5 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.000327/2.022, allocations: 344.7 kB / 1.259 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/2.022, allocations: 10.44 kB / 1.259 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/2.022, allocations: 8.422 kB / 1.259 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.399e-05/2.022, allocations: 161.3 kB / 1.259 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/2.022, allocations: 2.031 kB / 1.259 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/2.022, allocations: 7.047 kB / 1.259 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/2.022, allocations: 53.86 kB / 1.259 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/2.022, allocations: 0 / 1.259 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/2.022, allocations: 4.469 kB / 1.259 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/2.022, allocations: 1 kB / 1.259 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/2.022, allocations: 19.77 kB / 1.259 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/2.022, allocations: 169.9 kB / 1.259 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/2.023, allocations: 49.75 kB / 1.259 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/2.023, allocations: 21.38 kB / 1.259 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008626/2.023, allocations: 0.6104 MB / 1.26 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/2.024, allocations: 40.55 kB / 1.26 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.994e-06/2.024, allocations: 0 / 1.26 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006579/2.024, allocations: 300.1 kB / 1.26 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/2.024, allocations: 52.06 kB / 1.26 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/2.024, allocations: 100.7 kB / 1.26 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/2.024, allocations: 27.2 kB / 1.26 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/2.024, allocations: 85.39 kB / 1.26 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/2.024, allocations: 29.72 kB / 1.26 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/2.024, allocations: 1.219 kB / 1.26 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/2.025, allocations: 317.7 kB / 1.26 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/2.025, allocations: 12.31 kB / 1.261 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/2.025, allocations: 55.02 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/2.025, allocations: 26.2 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/2.025, allocations: 4 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001944/2.025, allocations: 90.14 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/2.025, allocations: 6.656 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/2.025, allocations: 6.031 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/2.025, allocations: 1.344 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/2.025, allocations: 19.41 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/2.025, allocations: 2.672 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/2.025, allocations: 6.062 kB / 1.261 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/2.025, allocations: 6.938 kB / 1.261 GB, free: 307.1 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 () * 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 6.407e-05/2.025, allocations: 116.9 kB / 1.261 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/2.025, allocations: 6.188 kB / 1.261 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/2.026, allocations: 7.906 kB / 1.261 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/2.026, allocations: 5.922 kB / 1.261 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/2.026, allocations: 1.125 kB / 1.261 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/2.026, allocations: 0.7969 kB / 1.261 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/2.026, allocations: 173.6 kB / 1.261 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/2.026, allocations: 4.766 kB / 1.261 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/2.026, allocations: 14.84 kB / 1.261 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/2.026, allocations: 6.047 kB / 1.261 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/2.026, allocations: 0 / 1.261 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/2.026, allocations: 1.25 kB / 1.261 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.026, allocations: 4.609 kB / 1.261 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/2.026, allocations: 169.8 kB / 1.261 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/2.026, allocations: 85.72 kB / 1.261 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/2.026, allocations: 1.828 kB / 1.261 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/2.027, allocations: 7.734 kB / 1.261 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/2.027, allocations: 11.17 kB / 1.261 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/2.027, allocations: 2.797 kB / 1.261 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.017e-05/2.027, allocations: 79.48 kB / 1.261 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/2.027, allocations: 0 / 1.261 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003179/2.027, allocations: 15.28 kB / 1.261 GB, free: 306.5 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 () * 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.0001859/2.027, allocations: 125.4 kB / 1.262 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001506/2.027, allocations: 43.47 kB / 1.262 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/2.027, allocations: 5.125 kB / 1.262 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/2.027, allocations: 11.33 kB / 1.262 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/2.028, allocations: 10.3 kB / 1.262 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/2.028, allocations: 274.8 kB / 1.262 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/2.029, allocations: 0.69 MB / 1.263 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.69e-05/2.029, allocations: 13.41 kB / 1.263 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/2.029, allocations: 11.19 kB / 1.263 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/2.029, allocations: 0 / 1.263 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.004587/2.033, allocations: 0.9076 MB / 1.263 GB, free: 305.3 MB / 0.8542 GB