Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00189/0.00189, allocations: 189.2 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 289.5 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 99.39 kB / 0.5945 GB, free: 28.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1581, allocations: 86.98 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002484/0.1607, allocations: 1.319 MB / 0.6807 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003457/0.1642, allocations: 3.238 MB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.1642, allocations: 0 / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.1642, allocations: 0 / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.1643, allocations: 3.984 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.1647, allocations: 99.59 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.1648, allocations: 39.86 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.1649, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.1649, allocations: 23.92 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.165, allocations: 11.97 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.165, allocations: 4 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.1652, allocations: 71.81 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.1652, allocations: 15.92 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1653, allocations: 8 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1655, allocations: 76 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1655, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1655, allocations: 4 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1655, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB 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.0004364/0.1659, allocations: 354.6 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.166, allocations: 11.97 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1661, allocations: 8.844 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.1662, allocations: 160.4 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1662, allocations: 4.375 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1662, allocations: 4.375 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1664, allocations: 57.8 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1664, allocations: 4 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1664, allocations: 4 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1664, allocations: 0 / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.1665, allocations: 27.91 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1667, allocations: 165.7 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.1668, allocations: 46.56 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.1668, allocations: 20.84 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/0.1675, allocations: 0.5945 MB / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1675, allocations: 38.5 kB / 0.6857 GB, free: 10.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1675, allocations: 0 / 0.6857 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005361/0.1681, allocations: 302.5 kB / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1681, allocations: 63.39 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.1682, allocations: 97.86 kB / 0.6861 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1682, allocations: 25.7 kB / 0.6861 GB, free: 9.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.1683, allocations: 84.05 kB / 0.6862 GB, free: 9.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.1683, allocations: 31.55 kB / 0.6862 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.1683, allocations: 25.72 kB / 0.6863 GB, free: 9.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.1684, allocations: 318.8 kB / 0.6866 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.1685, allocations: 12 kB / 0.6866 GB, free: 9.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.084e-05/0.1685, allocations: 61.08 kB / 0.6866 GB, free: 9.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.853e-05/0.1686, allocations: 85.19 kB / 0.6867 GB, free: 9.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1686, allocations: 0 / 0.6867 GB, free: 9.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001238/0.1688, allocations: 89.55 kB / 0.6868 GB, free: 9.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1688, allocations: 4 kB / 0.6868 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1688, allocations: 4 kB / 0.6868 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1688, allocations: 0 / 0.6868 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.1689, allocations: 20 kB / 0.6868 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1689, allocations: 7.984 kB / 0.6868 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.1689, allocations: 3.938 kB / 0.6868 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.169, allocations: 12.06 kB / 0.6869 GB, free: 9.172 MB / 494.1 MB 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.719e-05/0.169, allocations: 115.2 kB / 0.687 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.1691, allocations: 7.906 kB / 0.687 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.1691, allocations: 7.969 kB / 0.687 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1691, allocations: 0 / 0.687 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1691, allocations: 0 / 0.687 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1691, allocations: 7.938 kB / 0.687 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1693, allocations: 173.7 kB / 0.6872 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1694, allocations: 448 / 0.6872 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.1694, allocations: 19.98 kB / 0.6872 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1695, allocations: 0 / 0.6872 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1695, allocations: 4 kB / 0.6872 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1695, allocations: 0 / 0.6872 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1695, allocations: 4 kB / 0.6872 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1696, allocations: 175.4 kB / 0.6874 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1697, allocations: 85.02 kB / 0.6874 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1697, allocations: 0 / 0.6874 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1698, allocations: 15.97 kB / 0.6874 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.1699, allocations: 4 kB / 0.6875 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.1699, allocations: 7.938 kB / 0.6875 GB, free: 8.469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.08e-05/0.1699, allocations: 75.28 kB / 0.6875 GB, free: 8.395 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1699, allocations: 0 / 0.6875 GB, free: 8.395 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1702, allocations: 16 kB / 0.6875 GB, free: 8.379 MB / 494.1 MB 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.0001117/0.1703, allocations: 99.23 kB / 0.6876 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.1704, allocations: 56.12 kB / 0.6877 GB, free: 8.215 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1704, allocations: 0 / 0.6877 GB, free: 8.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.1704, allocations: 16 kB / 0.6877 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.1707, allocations: 7.984 kB / 0.6877 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.1713, allocations: 332.2 kB / 0.688 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.1715, allocations: 0.6848 MB / 0.6887 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.1715, allocations: 8 kB / 0.6887 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1716, allocations: 11.44 kB / 0.6887 GB, free: 7.109 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1716, allocations: 0 / 0.6887 GB, free: 7.109 MB / 494.1 MB Notification: Performance of Templates: time 0.002535/0.1741, allocations: 0.602 MB / 0.6893 GB, free: 6.508 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)