Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 191.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 68.88 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2694, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002372/0.2718, allocations: 1.317 MB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.2753, allocations: 3.231 MB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.2753, allocations: 4 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.2753, allocations: 0 / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.2754, allocations: 7.922 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.2759, allocations: 95.67 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.2759, allocations: 39.84 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.276, allocations: 0 / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.276, allocations: 23.92 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.2761, allocations: 15.92 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.2761, allocations: 4 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.2763, allocations: 79.73 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.2763, allocations: 11.92 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.2763, allocations: 15.94 kB / 0.7876 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.2765, allocations: 76.06 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2765, allocations: 4 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2765, allocations: 0 / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2765, allocations: 0 / 0.7876 GB, free: 8.961 MB / 0.6075 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.0004449/0.277, allocations: 347.5 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.277, allocations: 8.031 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.2771, allocations: 4.938 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2772, allocations: 168.3 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2773, allocations: 384 / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.2773, allocations: 12.38 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2774, allocations: 57.73 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2774, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2775, allocations: 4 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2775, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.2775, allocations: 19.97 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.2777, allocations: 165.7 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.2778, allocations: 46.56 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.2778, allocations: 24.84 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.2785, allocations: 0.5906 MB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2785, allocations: 38.56 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.2785, allocations: 0 / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005327/0.2791, allocations: 306.5 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.2791, allocations: 55.34 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.2792, allocations: 97.84 kB / 0.7895 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2792, allocations: 29.7 kB / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.2793, allocations: 88.05 kB / 0.7896 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2793, allocations: 27.55 kB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.2793, allocations: 25.72 kB / 0.7897 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2794, allocations: 326.8 kB / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.2795, allocations: 12 kB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.2795, allocations: 57.08 kB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.2796, allocations: 73.08 kB / 0.7901 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2796, allocations: 0 / 0.7901 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001224/0.2797, allocations: 93.77 kB / 0.7902 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2798, allocations: 8 kB / 0.7902 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2798, allocations: 0 / 0.7902 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2798, allocations: 4 kB / 0.7902 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.2799, allocations: 19.94 kB / 0.7902 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2799, allocations: 4.109 kB / 0.7902 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.2799, allocations: 19.88 kB / 0.7903 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2799, allocations: 4 kB / 0.7903 GB, free: 5.855 MB / 0.6075 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 7.999e-05/0.28, allocations: 113.8 kB / 0.7904 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.2801, allocations: 3.906 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.2801, allocations: 7.969 kB / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2801, allocations: 4 kB / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2801, allocations: 0 / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2801, allocations: 3.938 kB / 0.7904 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.2804, allocations: 173.7 kB / 0.7906 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2804, allocations: 0 / 0.7906 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.2805, allocations: 23.92 kB / 0.7906 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2805, allocations: 0 / 0.7906 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2805, allocations: 8.375 kB / 0.7906 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2805, allocations: 0 / 0.7906 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2805, allocations: 0 / 0.7906 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.2807, allocations: 179.4 kB / 0.7908 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.2807, allocations: 85.11 kB / 0.7908 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2808, allocations: 4 kB / 0.7909 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2809, allocations: 8.031 kB / 0.7909 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.2809, allocations: 4 kB / 0.7909 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.2809, allocations: 7.938 kB / 0.7909 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.281, allocations: 79.28 kB / 0.7909 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.281, allocations: 0 / 0.7909 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002448/0.2812, allocations: 12 kB / 0.791 GB, free: 5.059 MB / 0.6075 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.0001533/0.2814, allocations: 111.2 kB / 0.7911 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.2815, allocations: 39.92 kB / 0.7911 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2815, allocations: 0 / 0.7911 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.2816, allocations: 19.94 kB / 0.7911 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.2819, allocations: 10.8 kB / 0.7911 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.2826, allocations: 346.6 kB / 0.7915 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.2829, allocations: 0.6913 MB / 0.7921 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.219e-05/0.283, allocations: 4 kB / 0.7921 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.283, allocations: 15.44 kB / 0.7922 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.283, allocations: 0 / 0.7922 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.003283/0.2863, allocations: 0.6192 MB / 0.7928 GB, free: 3.152 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)