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.001152/0.001152, allocations: 106.9 kB / 16.36 MB, free: 6.012 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.00119/0.00119, allocations: 192.7 kB / 17.3 MB, free: 5.617 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.369/1.369, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.841/1.841, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001552/0.001552, allocations: 71.89 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2605, allocations: 114.5 MB / 0.7848 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002511/0.263, allocations: 1.267 MB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3986/0.6616, allocations: 3.245 MB / 0.7892 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.6617, allocations: 0 / 0.7892 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.6618, allocations: 3.984 kB / 0.7892 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.526e-05/0.6619, allocations: 5.031 kB / 0.7892 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.6624, allocations: 110.3 kB / 0.7893 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.907e-05/0.6624, allocations: 36.34 kB / 0.7893 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.6625, allocations: 6.672 kB / 0.7893 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.6625, allocations: 11.81 kB / 0.7893 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.6626, allocations: 21.83 kB / 0.7894 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.6626, allocations: 2.625 kB / 0.7894 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.6628, allocations: 83.83 kB / 0.7894 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.6629, allocations: 7.641 kB / 0.7894 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.6629, allocations: 15.23 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.6631, allocations: 74.11 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6631, allocations: 0 / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6631, allocations: 0 / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.6631, allocations: 0 / 0.7895 GB, free: 46.46 MB / 0.6544 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.0003419/0.6635, allocations: 342.6 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.6635, allocations: 8.031 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.972e-05/0.6636, allocations: 15 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.373e-05/0.6637, allocations: 165.1 kB / 0.79 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.6637, allocations: 6.875 kB / 0.79 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.6637, allocations: 7 kB / 0.79 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6639, allocations: 55.3 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.6639, allocations: 3.047 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.6639, allocations: 2.562 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.6639, allocations: 2.719 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.664, allocations: 19.42 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.6641, allocations: 172.6 kB / 0.7903 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/0.6642, allocations: 54.61 kB / 0.7903 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.6642, allocations: 21.61 kB / 0.7904 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005482/0.6648, allocations: 0.5932 MB / 0.7909 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.6648, allocations: 33.84 kB / 0.791 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.6648, allocations: 0 / 0.791 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005086/0.6653, allocations: 298.6 kB / 0.7913 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.6654, allocations: 53.3 kB / 0.7913 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.6654, allocations: 101.3 kB / 0.7914 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.6654, allocations: 31.8 kB / 0.7914 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.6655, allocations: 85.27 kB / 0.7915 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.6655, allocations: 26.44 kB / 0.7915 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.6655, allocations: 30.8 kB / 0.7916 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.6656, allocations: 318.7 kB / 0.7919 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.6656, allocations: 15.69 kB / 0.7919 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.6657, allocations: 52.09 kB / 0.7919 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/0.6658, allocations: 74 kB / 0.792 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6658, allocations: 5.781 kB / 0.792 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001145/0.6659, allocations: 95.98 kB / 0.7921 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6659, allocations: 5.75 kB / 0.7921 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6659, allocations: 2.625 kB / 0.7921 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.6659, allocations: 3.438 kB / 0.7921 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.666, allocations: 18.84 kB / 0.7921 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.666, allocations: 7.484 kB / 0.7921 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.6661, allocations: 14.56 kB / 0.7922 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.6661, allocations: 2.625 kB / 0.7922 GB, free: 43.98 MB / 0.6544 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.189e-05/0.6662, allocations: 122.2 kB / 0.7923 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.6662, allocations: 2.625 kB / 0.7923 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.6662, allocations: 11.92 kB / 0.7923 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6662, allocations: 2.781 kB / 0.7923 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.6663, allocations: 0 / 0.7923 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6663, allocations: 3.938 kB / 0.7923 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.6665, allocations: 176.4 kB / 0.7925 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6665, allocations: 2.625 kB / 0.7925 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.331e-05/0.6666, allocations: 15.16 kB / 0.7925 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6666, allocations: 0 / 0.7925 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.6666, allocations: 6.281 kB / 0.7925 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6666, allocations: 0 / 0.7925 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6666, allocations: 0 / 0.7925 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.6667, allocations: 179.8 kB / 0.7927 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.6668, allocations: 82.56 kB / 0.7927 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.6668, allocations: 1.625 kB / 0.7927 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.6669, allocations: 4.078 kB / 0.7927 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.6669, allocations: 6.5 kB / 0.7928 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6669, allocations: 11.22 kB / 0.7928 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.054e-05/0.667, allocations: 80.62 kB / 0.7928 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.667, allocations: 0 / 0.7928 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002361/0.6672, allocations: 14.25 kB / 0.7929 GB, free: 43.36 MB / 0.6544 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 9.147e-05/0.6673, allocations: 98.22 kB / 0.7929 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.6674, allocations: 46.44 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6674, allocations: 0.5312 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.6675, allocations: 22.36 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6678, allocations: 10.84 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.6682, allocations: 323.9 kB / 0.7933 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.6683, allocations: 0.6849 MB / 0.794 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.6684, allocations: 17.16 kB / 0.794 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.6684, allocations: 10.06 kB / 0.794 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6684, allocations: 0 / 0.794 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.002614/0.671, allocations: 0.6187 MB / 0.7946 GB, free: 42.29 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)