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.001192/0.001192, allocations: 109.4 kB / 15.69 MB, free: 128 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.001319/0.001319, allocations: 189 kB / 16.62 MB, free: 6.613 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.514/1.514, allocations: 205.1 MB / 222.5 MB, free: 4.59 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.818/1.818, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002487/0.002487, allocations: 68.61 kB / 0.6722 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2561, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003475/0.2596, allocations: 1.256 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004393/0.2641, allocations: 3.262 MB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.2641, allocations: 0 / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.2642, allocations: 0 / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.2643, allocations: 7.922 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.2651, allocations: 107.5 kB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2653, allocations: 43.84 kB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.2653, allocations: 4 kB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.2654, allocations: 15.92 kB / 0.7887 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.2655, allocations: 19.92 kB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2655, allocations: 0 / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.2659, allocations: 79.73 kB / 0.7888 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.2659, allocations: 11.98 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.266, allocations: 19.92 kB / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.2662, allocations: 67.8 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2662, allocations: 4 kB / 0.7889 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2662, allocations: 4 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2663, allocations: 0 / 0.7889 GB, free: 7.824 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.0005513/0.2668, allocations: 339.5 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.2669, allocations: 8.031 kB / 0.7892 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.267, allocations: 12.92 kB / 0.7892 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2672, allocations: 172.3 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2672, allocations: 384 / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2673, allocations: 4.375 kB / 0.7894 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2674, allocations: 69.72 kB / 0.7895 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2675, allocations: 0 / 0.7895 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2675, allocations: 3.984 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2675, allocations: 0 / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.714e-05/0.2676, allocations: 19.98 kB / 0.7895 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.2678, allocations: 165.7 kB / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.268, allocations: 42.56 kB / 0.7897 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.268, allocations: 20.84 kB / 0.7897 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007901/0.2688, allocations: 0.6026 MB / 0.7903 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2688, allocations: 30.56 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2689, allocations: 3.938 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006065/0.2695, allocations: 298.2 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2695, allocations: 55.41 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.2696, allocations: 105.8 kB / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2696, allocations: 25.7 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.2697, allocations: 92.05 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.2697, allocations: 27.55 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.2698, allocations: 21.72 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2699, allocations: 326.8 kB / 0.7912 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.2699, allocations: 12 kB / 0.7912 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.27, allocations: 57.08 kB / 0.7913 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.536e-05/0.2701, allocations: 69.09 kB / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2701, allocations: 3.984 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000132/0.2702, allocations: 89.56 kB / 0.7915 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2702, allocations: 8 kB / 0.7915 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2703, allocations: 3.984 kB / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2703, allocations: 4 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2704, allocations: 16 kB / 0.7915 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2704, allocations: 3.938 kB / 0.7915 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.2705, allocations: 7.938 kB / 0.7915 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2705, allocations: 12.56 kB / 0.7915 GB, free: 4.723 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 8.579e-05/0.2706, allocations: 113.8 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.2706, allocations: 7.906 kB / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.2707, allocations: 11.97 kB / 0.7916 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2707, allocations: 0 / 0.7916 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2707, allocations: 288 / 0.7916 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2707, allocations: 7.938 kB / 0.7916 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.2709, allocations: 173.7 kB / 0.7918 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.271, allocations: 0 / 0.7918 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.2711, allocations: 27.91 kB / 0.7918 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2711, allocations: 4 kB / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2711, allocations: 0 / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2711, allocations: 3.938 kB / 0.7918 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2711, allocations: 0 / 0.7918 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.2713, allocations: 167.4 kB / 0.792 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.2714, allocations: 89.14 kB / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2714, allocations: 0 / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2715, allocations: 8 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.2716, allocations: 3.984 kB / 0.7921 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2716, allocations: 11.88 kB / 0.7921 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.2716, allocations: 83.28 kB / 0.7922 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2716, allocations: 0 / 0.7922 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002664/0.2719, allocations: 8 kB / 0.7922 GB, free: 3.922 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.0001649/0.2721, allocations: 107.2 kB / 0.7923 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.2722, allocations: 48.06 kB / 0.7923 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2722, allocations: 0 / 0.7923 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.2723, allocations: 19.97 kB / 0.7924 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.2726, allocations: 8 kB / 0.7924 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.2732, allocations: 326.6 kB / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.2734, allocations: 0.6807 MB / 0.7933 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.995e-05/0.2735, allocations: 15.77 kB / 0.7934 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.2735, allocations: 11.44 kB / 0.7934 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/0.2735, allocations: 0 / 0.7934 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of Templates: time 0.002876/0.2764, allocations: 0.6168 MB / 0.794 GB, free: 2.035 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)