Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/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_latest_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.809/1.809, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 186.7 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009715, allocations: 94.31 kB / 0.7808 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004274, allocations: 12 kB / 0.9088 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8278, allocations: 120.3 MB / 1.026 GB, free: 56.24 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.993/1.821, allocations: 370.4 MB / 1.388 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.821, allocations: 73.7 kB / 1.388 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02702/1.848, allocations: 13.33 MB / 1.401 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/1.848, allocations: 0 / 1.401 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.848, allocations: 0 / 1.401 GB, free: 220.9 MB / 0.8855 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.0002758/1.849, allocations: 345.4 kB / 1.401 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.849, allocations: 8.031 kB / 1.401 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/1.849, allocations: 5.688 kB / 1.401 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/1.849, allocations: 161.7 kB / 1.402 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/1.849, allocations: 8.375 kB / 1.402 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/1.849, allocations: 16.83 kB / 1.402 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/1.849, allocations: 53.84 kB / 1.402 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.849, allocations: 192 / 1.402 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.849, allocations: 7.938 kB / 1.402 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.849, allocations: 4 kB / 1.402 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/1.849, allocations: 17.3 kB / 1.402 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/1.849, allocations: 167.4 kB / 1.402 GB, free: 220 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/1.849, allocations: 51.92 kB / 1.402 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/1.849, allocations: 22.67 kB / 1.402 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/1.85, allocations: 0.5859 MB / 1.402 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/1.85, allocations: 34.56 kB / 1.403 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/1.85, allocations: 0 / 1.403 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004971/1.85, allocations: 307.6 kB / 1.403 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/1.85, allocations: 55.41 kB / 1.403 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.661e-05/1.851, allocations: 100.1 kB / 1.403 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/1.851, allocations: 25.7 kB / 1.403 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/1.851, allocations: 84.61 kB / 1.403 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/1.851, allocations: 26.05 kB / 1.403 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/1.851, allocations: 4 kB / 1.403 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/1.851, allocations: 324.8 kB / 1.403 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/1.851, allocations: 9.688 kB / 1.403 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/1.851, allocations: 53.08 kB / 1.403 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/1.851, allocations: 83.33 kB / 1.404 GB, free: 218 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.851, allocations: 0 / 1.404 GB, free: 218 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001198/1.851, allocations: 97.25 kB / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/1.851, allocations: 4 kB / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.851, allocations: 4.703 kB / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.851, allocations: 0 / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/1.851, allocations: 22.14 kB / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.851, allocations: 8.781 kB / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/1.851, allocations: 4 kB / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/1.851, allocations: 4 kB / 1.404 GB, free: 217.9 MB / 0.8855 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 5.688e-05/1.851, allocations: 122.2 kB / 1.404 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/1.851, allocations: 4.609 kB / 1.404 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/1.851, allocations: 8.625 kB / 1.404 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.851, allocations: 0 / 1.404 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.851, allocations: 0.5156 kB / 1.404 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.851, allocations: 0.8438 kB / 1.404 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/1.852, allocations: 176.7 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.852, allocations: 0.5625 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/1.852, allocations: 21.67 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.852, allocations: 0.5156 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.852, allocations: 4.438 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.852, allocations: 0.6562 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.852, allocations: 0 / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/1.852, allocations: 182.4 kB / 1.404 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/1.852, allocations: 83.12 kB / 1.404 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/1.852, allocations: 0.5625 kB / 1.404 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/1.852, allocations: 4.844 kB / 1.404 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/1.852, allocations: 5.547 kB / 1.404 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/1.852, allocations: 4.75 kB / 1.404 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 1.913e-05/1.852, allocations: 80.12 kB / 1.404 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.7e-07/1.852, allocations: 3.938 kB / 1.404 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002758/1.852, allocations: 20.66 kB / 1.404 GB, free: 217.1 MB / 0.8855 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.0001552/1.852, allocations: 123 kB / 1.404 GB, free: 217 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001056/1.853, allocations: 44.45 kB / 1.405 GB, free: 217 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.853, allocations: 4 kB / 1.405 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/1.853, allocations: 18.16 kB / 1.405 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/1.853, allocations: 4.797 kB / 1.405 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/1.853, allocations: 388.6 kB / 1.405 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/1.854, allocations: 0.6879 MB / 1.406 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.329e-05/1.854, allocations: 10.11 kB / 1.406 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/1.854, allocations: 11.44 kB / 1.406 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/1.854, allocations: 0 / 1.406 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.003649/1.857, allocations: 0.8641 MB / 1.406 GB, free: 215.3 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)