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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.447/1.447, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.859/1.859, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001743/0.001743, allocations: 67.17 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2575, allocations: 114.5 MB / 0.7833 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002604/0.2601, allocations: 1.256 MB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.2636, allocations: 3.266 MB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.2637, allocations: 0 / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.2637, allocations: 3.938 kB / 0.7878 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.2638, allocations: 4 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2643, allocations: 107.5 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.2644, allocations: 39.91 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.2644, allocations: 0 / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.2645, allocations: 23.92 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.2645, allocations: 19.91 kB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2645, allocations: 4 kB / 0.788 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.2648, allocations: 79.75 kB / 0.788 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.2648, allocations: 8 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.2648, allocations: 15.91 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.265, allocations: 72.08 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.265, allocations: 0 / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.265, allocations: 7.938 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.265, allocations: 0 / 0.7881 GB, free: 8.582 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.0003615/0.2654, allocations: 343.5 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2654, allocations: 12.03 kB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.246e-05/0.2655, allocations: 4.938 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.967e-05/0.2657, allocations: 164.3 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2657, allocations: 4.375 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2657, allocations: 4.375 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.2658, allocations: 69.72 kB / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2659, allocations: 0 / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2659, allocations: 4 kB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2659, allocations: 0 / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.2659, allocations: 19.97 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.2661, allocations: 157.7 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/0.2662, allocations: 50.56 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.2662, allocations: 24.78 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006566/0.2669, allocations: 0.6026 MB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2669, allocations: 30.56 kB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2669, allocations: 0 / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005714/0.2675, allocations: 298.2 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2676, allocations: 59.34 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.2676, allocations: 97.86 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2676, allocations: 29.7 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.2677, allocations: 84.05 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.2677, allocations: 31.55 kB / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2678, allocations: 25.72 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2679, allocations: 322.8 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.2679, allocations: 8.438 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.268, allocations: 61.08 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.2681, allocations: 77.25 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2681, allocations: 8 kB / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000134/0.2682, allocations: 89.55 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2682, allocations: 4.938 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2682, allocations: 4 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2683, allocations: 0 / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.2683, allocations: 27.92 kB / 0.7907 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2684, allocations: 4 kB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.2684, allocations: 4.062 kB / 0.7907 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2684, allocations: 8 kB / 0.7908 GB, free: 5.48 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 6.878e-05/0.2685, allocations: 113.8 kB / 0.7909 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.2685, allocations: 7.906 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.2686, allocations: 11.91 kB / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2686, allocations: 0 / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2686, allocations: 0 / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2686, allocations: 3.938 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2688, allocations: 177.7 kB / 0.7911 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2688, allocations: 4 kB / 0.7911 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.2689, allocations: 23.92 kB / 0.7911 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2689, allocations: 0 / 0.7911 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2689, allocations: 3.938 kB / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.269, allocations: 0 / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.269, allocations: 0 / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.2691, allocations: 175.4 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.2692, allocations: 77.11 kB / 0.7913 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2692, allocations: 8 kB / 0.7913 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2693, allocations: 8.031 kB / 0.7913 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.2693, allocations: 4 kB / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.2694, allocations: 3.938 kB / 0.7913 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.2694, allocations: 83.27 kB / 0.7914 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2694, allocations: 3.938 kB / 0.7914 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002367/0.2696, allocations: 16 kB / 0.7914 GB, free: 4.676 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.0001265/0.2698, allocations: 99.25 kB / 0.7915 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.2699, allocations: 47.91 kB / 0.7916 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2699, allocations: 0 / 0.7916 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.2699, allocations: 23.92 kB / 0.7916 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.2702, allocations: 8.516 kB / 0.7916 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.2708, allocations: 330.1 kB / 0.7919 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2711, allocations: 0.6885 MB / 0.7926 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.779e-05/0.2711, allocations: 0 / 0.7926 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.2711, allocations: 11.44 kB / 0.7926 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2712, allocations: 0 / 0.7926 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.002703/0.2739, allocations: 0.6205 MB / 0.7932 GB, free: 2.793 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)