Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9762/0.9762, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.908/1.908, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.406e-05, allocations: 3.516 kB / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002368/0.002393, allocations: 1.317 MB / 0.7764 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003739/0.006132, allocations: 3.378 MB / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.006165, allocations: 0 / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.006186, allocations: 4.578 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.006233, allocations: 7.938 kB / 0.7797 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.006761, allocations: 113.7 kB / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.006837, allocations: 35.84 kB / 0.7798 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.006872, allocations: 4 kB / 0.7799 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.006947, allocations: 24.56 kB / 0.7799 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.007007, allocations: 15.91 kB / 0.7799 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.007019, allocations: 4.969 kB / 0.7799 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.007214, allocations: 63.77 kB / 0.78 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.007548, allocations: 17.12 kB / 0.78 GB, free: 500 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.007571, allocations: 8 kB / 0.78 GB, free: 492 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.007735, allocations: 75.78 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.007739, allocations: 0.9375 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.443e-06/0.00774, allocations: 0 / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.007745, allocations: 0 / 0.7801 GB, free: 416 kB / 0.7292 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.0003068/0.008051, allocations: 245.8 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.008087, allocations: 14.22 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.008193, allocations: 16.81 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.008286, allocations: 107.6 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.008298, allocations: 4.375 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.008322, allocations: 4.375 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.008441, allocations: 127.3 kB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.008447, allocations: 4.188 kB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.008457, allocations: 4.812 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.008462, allocations: 0 / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.4e-05/0.008496, allocations: 16.58 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.0086, allocations: 69.03 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.008672, allocations: 40.34 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.008691, allocations: 12.86 kB / 0.7807 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.009104, allocations: 220.4 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.009132, allocations: 43.08 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.009133, allocations: 0 / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004578/0.009591, allocations: 235.8 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.009618, allocations: 52.22 kB / 0.7812 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.009677, allocations: 114.6 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.00969, allocations: 30.58 kB / 0.7814 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.009726, allocations: 88.08 kB / 0.7814 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.009747, allocations: 27.75 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.009787, allocations: 30.25 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.009862, allocations: 311.5 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.009876, allocations: 15.92 kB / 0.7818 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.009914, allocations: 50.3 kB / 0.7819 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.009978, allocations: 74.45 kB / 0.7819 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00998, allocations: 0 / 0.7819 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001006/0.01008, allocations: 74.2 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01009, allocations: 5.062 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.0101, allocations: 4 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01011, allocations: 0.5 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.01017, allocations: 27.92 kB / 0.782 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.01017, allocations: 4.531 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.0102, allocations: 0.9375 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.01021, allocations: 4 kB / 0.782 GB, free: 14.14 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.01027, allocations: 114.8 kB / 0.7822 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01029, allocations: 11.92 kB / 0.7822 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.01032, allocations: 9.062 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01032, allocations: 4 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.01032, allocations: 0 / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.01032, allocations: 0.9375 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.01049, allocations: 81.89 kB / 0.7823 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01049, allocations: 0 / 0.7823 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.01056, allocations: 20.86 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01056, allocations: 0 / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.01056, allocations: 6.594 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01057, allocations: 0 / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01057, allocations: 4 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.01073, allocations: 155.5 kB / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.01074, allocations: 0 / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.01076, allocations: 7.938 kB / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.01085, allocations: 3.984 kB / 0.7824 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.01086, allocations: 6.75 kB / 0.7825 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.01087, allocations: 3.938 kB / 0.7825 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.471e-05/0.01088, allocations: 21.11 kB / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01088, allocations: 0 / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002748/0.01115, allocations: 8 kB / 0.7825 GB, free: 13.65 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001195/0.01127, allocations: 89.55 kB / 0.7826 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.127e-05/0.01136, allocations: 37.7 kB / 0.7826 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.01136, allocations: 4 kB / 0.7826 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.01138, allocations: 13.8 kB / 0.7826 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.01159, allocations: 16.14 kB / 0.7826 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.01217, allocations: 231.8 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.01221, allocations: 59.34 kB / 0.7829 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.01225, allocations: 6.969 kB / 0.7829 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.01232, allocations: 68.39 kB / 0.783 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.01232, allocations: 0 / 0.783 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.002985/0.0153, allocations: 0.6925 MB / 0.7837 GB, free: 12.45 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.919857922941446]