Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.549/2.549, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001507, allocations: 188.8 kB / 365.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.1 MB / 0.6241 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 90.45 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.513e-05, allocations: 0 / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.858, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/2.084, allocations: 366.8 MB / 1.328 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/2.084, allocations: 68.47 kB / 1.328 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05033/2.134, allocations: 13.05 MB / 1.341 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.272e-06/2.134, allocations: 0 / 1.341 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.402e-06/2.134, allocations: 0 / 1.341 GB, free: 176.1 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.0003453/2.135, allocations: 335.1 kB / 1.341 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/2.135, allocations: 11.75 kB / 1.341 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/2.135, allocations: 3.812 kB / 1.341 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/2.135, allocations: 182.7 kB / 1.341 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/2.135, allocations: 1.25 kB / 1.341 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/2.135, allocations: 11.16 kB / 1.341 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/2.135, allocations: 47.91 kB / 1.342 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/2.135, allocations: 0 / 1.342 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/2.135, allocations: 3.75 kB / 1.342 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/2.135, allocations: 0 / 1.342 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/2.135, allocations: 18.48 kB / 1.342 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/2.136, allocations: 176 kB / 1.342 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/2.136, allocations: 48.77 kB / 1.342 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/2.136, allocations: 20.03 kB / 1.342 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008403/2.137, allocations: 0.6185 MB / 1.342 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/2.137, allocations: 33.75 kB / 1.342 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 2.345e-06/2.137, allocations: 0 / 1.342 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006224/2.137, allocations: 299.9 kB / 1.343 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/2.137, allocations: 54.62 kB / 1.343 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/2.137, allocations: 95.36 kB / 1.343 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/2.137, allocations: 33.33 kB / 1.343 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/2.137, allocations: 84.05 kB / 1.343 GB, free: 174 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/2.137, allocations: 26.45 kB / 1.343 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/2.138, allocations: 6.656 kB / 1.343 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/2.138, allocations: 310.8 kB / 1.343 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/2.138, allocations: 16.94 kB / 1.343 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/2.138, allocations: 53.33 kB / 1.343 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/2.138, allocations: 20.8 kB / 1.343 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/2.138, allocations: 0 / 1.343 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001978/2.138, allocations: 90.88 kB / 1.343 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/2.138, allocations: 10.36 kB / 1.343 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/2.138, allocations: 4.125 kB / 1.343 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/2.138, allocations: 7.172 kB / 1.343 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/2.138, allocations: 19.94 kB / 1.344 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/2.138, allocations: 3.188 kB / 1.344 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/2.138, allocations: 3.812 kB / 1.344 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/2.138, allocations: 6.406 kB / 1.344 GB, free: 173.5 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.068e-05/2.138, allocations: 104.4 kB / 1.344 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/2.138, allocations: 7.172 kB / 1.344 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/2.138, allocations: 10.84 kB / 1.344 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/2.139, allocations: 4 kB / 1.344 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/2.139, allocations: 7.891 kB / 1.344 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/2.139, allocations: 0 / 1.344 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/2.139, allocations: 174.6 kB / 1.344 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/2.139, allocations: 0 / 1.344 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/2.139, allocations: 21.19 kB / 1.344 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/2.139, allocations: 7.859 kB / 1.344 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/2.139, allocations: 0 / 1.344 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/2.139, allocations: 0 / 1.344 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.139, allocations: 0 / 1.344 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/2.139, allocations: 172.9 kB / 1.344 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/2.139, allocations: 83.2 kB / 1.344 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/2.139, allocations: 3.844 kB / 1.344 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/2.14, allocations: 3.5 kB / 1.344 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/2.14, allocations: 3.844 kB / 1.344 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/2.14, allocations: 7.859 kB / 1.344 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.912e-05/2.14, allocations: 83.17 kB / 1.344 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.01e-07/2.14, allocations: 0 / 1.344 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003183/2.14, allocations: 18.34 kB / 1.344 GB, free: 172.8 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.0001852/2.14, allocations: 128.5 kB / 1.344 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001387/2.14, allocations: 37.94 kB / 1.344 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/2.14, allocations: 3.969 kB / 1.344 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/2.14, allocations: 17.38 kB / 1.344 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/2.141, allocations: 7.859 kB / 1.344 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/2.141, allocations: 278.2 kB / 1.345 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/2.142, allocations: 0.6921 MB / 1.345 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.103e-05/2.142, allocations: 11.69 kB / 1.345 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/2.142, allocations: 11.31 kB / 1.345 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/2.142, allocations: 0 / 1.345 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004358/2.146, allocations: 0.907 MB / 1.346 GB, free: 171.3 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)