Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.609/1.609, allocations: 288.4 MB / 303.7 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 175 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000849/0.0008488, allocations: 93.2 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 10.97 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001313/0.2309, allocations: 0.9745 MB / 0.9811 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.234, allocations: 3.054 MB / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.2341, allocations: 0 / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.2341, allocations: 3.984 kB / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.589e-05/0.2342, allocations: 3.938 kB / 0.9841 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.2346, allocations: 103.6 kB / 0.9842 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.2347, allocations: 23.92 kB / 0.9842 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2347, allocations: 4 kB / 0.9842 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.2347, allocations: 19.92 kB / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.2348, allocations: 19.91 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.2348, allocations: 0 / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.235, allocations: 71.81 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.235, allocations: 11.98 kB / 0.9843 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2351, allocations: 37.64 kB / 0.9843 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2352, allocations: 52.09 kB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2352, allocations: 4 kB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2352, allocations: 0 / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2352, allocations: 0 / 0.9844 GB, free: 22.95 MB / 0.6198 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.0003213/0.2356, allocations: 327.5 kB / 0.9847 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2356, allocations: 12.03 kB / 0.9847 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.267e-05/0.2357, allocations: 8.922 kB / 0.9847 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.153e-05/0.2358, allocations: 168.3 kB / 0.9849 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2358, allocations: 8.312 kB / 0.9849 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.2358, allocations: 4.375 kB / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.236, allocations: 57.78 kB / 0.9849 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.236, allocations: 0 / 0.9849 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.236, allocations: 7.938 kB / 0.985 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.236, allocations: 0 / 0.985 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.2361, allocations: 15.98 kB / 0.985 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.2362, allocations: 165.7 kB / 0.9851 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/0.2363, allocations: 62.48 kB / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.2363, allocations: 16.84 kB / 0.9852 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/0.2369, allocations: 0.5987 MB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2369, allocations: 30.56 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2369, allocations: 4 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004717/0.2374, allocations: 302.6 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.2374, allocations: 51.41 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.2375, allocations: 97.84 kB / 0.9863 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2375, allocations: 33.7 kB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.2375, allocations: 87.98 kB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2376, allocations: 31.55 kB / 0.9864 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.2376, allocations: 7.938 kB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.2376, allocations: 318.8 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.2377, allocations: 15.98 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.2377, allocations: 53.08 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.2378, allocations: 69.09 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2378, allocations: 0 / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001042/0.2379, allocations: 93.55 kB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2379, allocations: 8 kB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2379, allocations: 0 / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2379, allocations: 8.125 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.238, allocations: 23.92 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.238, allocations: 4.062 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.2381, allocations: 7.938 kB / 0.987 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.2381, allocations: 8 kB / 0.987 GB, free: 19.88 MB / 0.6198 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.418e-05/0.2381, allocations: 113.8 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.2382, allocations: 7.906 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.2382, allocations: 11.97 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2382, allocations: 0 / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2382, allocations: 7.984 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2382, allocations: 7.875 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2384, allocations: 173.7 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2384, allocations: 0 / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.2385, allocations: 12 kB / 0.9873 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2385, allocations: 4 kB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2385, allocations: 288 / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2385, allocations: 0 / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2385, allocations: 3.938 kB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.2387, allocations: 175.5 kB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.2387, allocations: 96.98 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2387, allocations: 0 / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2389, allocations: 4 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.2389, allocations: 3.938 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2389, allocations: 11.92 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.052e-05/0.2389, allocations: 79.28 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2389, allocations: 0 / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002129/0.2391, allocations: 12 kB / 0.9877 GB, free: 19.07 MB / 0.6198 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.0001134/0.2393, allocations: 103.2 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.2394, allocations: 43.92 kB / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2394, allocations: 0 / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-05/0.2394, allocations: 23.91 kB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2397, allocations: 9.719 kB / 0.9879 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.2402, allocations: 383.1 kB / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2403, allocations: 0.6826 MB / 0.9889 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.2404, allocations: 11.98 kB / 0.9889 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.2404, allocations: 11.44 kB / 0.9889 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.2404, allocations: 0 / 0.9889 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.002448/0.2429, allocations: 0.5779 MB / 0.9895 GB, free: 17.18 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)