Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.72/1.72, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.0009219/0.000922, allocations: 177.2 kB / 371.8 MB, free: 10.85 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.302/1.302, allocations: 205.4 MB / 0.6304 GB, free: 10.6 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.0007525/0.0007525, allocations: 100 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 10.25 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.0009753/0.1623, allocations: 0.9703 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1648, allocations: 3.054 MB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.1649, allocations: 0 / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.1649, allocations: 0 / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.165, allocations: 3.938 kB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1653, allocations: 79.62 kB / 0.9833 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.1654, allocations: 31.91 kB / 0.9833 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.897e-05/0.1654, allocations: 8 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.1654, allocations: 19.91 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.1655, allocations: 19.94 kB / 0.9834 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1655, allocations: 0 / 0.9834 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1657, allocations: 55.89 kB / 0.9834 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1657, allocations: 7.922 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.1657, allocations: 33.7 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.086e-05/0.1658, allocations: 36.17 kB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1658, allocations: 0 / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1658, allocations: 3.938 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1659, allocations: 0 / 0.9835 GB, free: 23.88 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.0002473/0.1661, allocations: 339.5 kB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1661, allocations: 8.031 kB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.1662, allocations: 4.938 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/0.1663, allocations: 168.3 kB / 0.984 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1663, allocations: 12.36 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1663, allocations: 4.375 kB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1664, allocations: 73.64 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1665, allocations: 0 / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1665, allocations: 0 / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1665, allocations: 4 kB / 0.9841 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.1665, allocations: 15.98 kB / 0.9841 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.1666, allocations: 161.7 kB / 0.9842 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.491e-05/0.1667, allocations: 50.55 kB / 0.9843 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.1667, allocations: 20.8 kB / 0.9843 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004874/0.1672, allocations: 0.6026 MB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.1673, allocations: 30.56 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1673, allocations: 0 / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004246/0.1677, allocations: 294.6 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.222e-05/0.1677, allocations: 55.41 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.939e-05/0.1678, allocations: 97.86 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.1678, allocations: 33.69 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.1678, allocations: 84.05 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.1678, allocations: 27.56 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1678, allocations: 4 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.1679, allocations: 322.7 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.1679, allocations: 12 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.1679, allocations: 57.14 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.168, allocations: 73.08 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.168, allocations: 4 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001082/0.1681, allocations: 97.55 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1682, allocations: 6.031 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1682, allocations: 0 / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1682, allocations: 4.281 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.1683, allocations: 19.94 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1683, allocations: 7.984 kB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.1683, allocations: 4 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1683, allocations: 7.938 kB / 0.9861 GB, free: 20.82 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 4.468e-05/0.1684, allocations: 123.3 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1684, allocations: 11.89 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.1684, allocations: 7.969 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1684, allocations: 0 / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1684, allocations: 0 / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.1685, allocations: 85.09 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1685, allocations: 3.938 kB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1686, allocations: 0 / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.1686, allocations: 11.98 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001233/0.1688, allocations: 145 kB / 0.9865 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001344/0.1689, allocations: 258.6 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.609e-05/0.1689, allocations: 19.97 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.386e-05/0.169, allocations: 79.28 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of Backend: time 2.01e-07/0.169, allocations: 0 / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.1693, allocations: 148.2 kB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004378/0.1698, allocations: 0.8322 MB / 0.9877 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.00248/0.1723, allocations: 0.9291 MB / 0.9887 GB, free: 18.08 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)