Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.954/2.954, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002233/0.002233, allocations: 185.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001028, allocations: 95.36 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007557/0.0007562, allocations: 13.55 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.16, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0005937/0.1607, allocations: 325.8 kB / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.1613, allocations: 308.9 kB / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.1613, allocations: 0 / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.028e-05/0.1613, allocations: 0 / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.1614, allocations: 11.94 kB / 0.9794 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1617, allocations: 65.97 kB / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.804e-05/0.1618, allocations: 8 kB / 0.9795 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.1618, allocations: 0 / 0.9795 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.1619, allocations: 11.91 kB / 0.9795 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.1619, allocations: 7.938 kB / 0.9795 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1619, allocations: 0 / 0.9795 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.1623, allocations: 255.7 kB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.024e-06/0.1623, allocations: 0 / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.1624, allocations: 33.7 kB / 0.9797 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.1625, allocations: 59.83 kB / 0.9798 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.601e-06/0.1625, allocations: 0 / 0.9798 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.207e-06/0.1625, allocations: 4 kB / 0.9798 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.045e-06/0.1625, allocations: 0 / 0.9798 GB, free: 27.08 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002552/0.1628, allocations: 339.4 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1628, allocations: 12.02 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.1629, allocations: 4 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.435e-05/0.163, allocations: 166.9 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.163, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.163, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.1631, allocations: 45.62 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.638e-06/0.1631, allocations: 0 / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-06/0.1632, allocations: 3.938 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-06/0.1632, allocations: 0 / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.1632, allocations: 4 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.1633, allocations: 153.9 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.1634, allocations: 22.61 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006241/0.164, allocations: 465.5 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1641, allocations: 34.56 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/0.1641, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004901/0.1646, allocations: 262.3 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.4e-05/0.1646, allocations: 51.41 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.397e-05/0.1647, allocations: 93.86 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.92e-06/0.1647, allocations: 25.7 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.1647, allocations: 84.14 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1648, allocations: 12.16 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-06/0.1648, allocations: 4 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.1648, allocations: 314.8 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.1649, allocations: 8 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.1649, allocations: 13.72 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.165, allocations: 11.95 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.165, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/0.1651, allocations: 57.62 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1651, allocations: 8 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.123e-06/0.1651, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1652, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.1652, allocations: 11.98 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.315e-06/0.1653, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.1653, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-06/0.1653, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.542e-05/0.1654, allocations: 117.8 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1654, allocations: 4.062 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1656, allocations: 57.06 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.488e-06/0.1656, allocations: 192 / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.088e-06/0.1656, allocations: 7.984 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-06/0.1656, allocations: 3.984 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.1657, allocations: 157.6 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-06/0.1657, allocations: 3.953 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.1658, allocations: 4 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-06/0.1658, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.1658, allocations: 4 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.058e-06/0.1658, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1658, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.166, allocations: 84.97 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.166, allocations: 85.05 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1661, allocations: 0 / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.1661, allocations: 0 / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.1661, allocations: 4.031 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-06/0.1662, allocations: 4.062 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.1662, allocations: 83.28 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.72e-07/0.1662, allocations: 0 / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002812/0.1665, allocations: 23.98 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001894/0.1667, allocations: 119.2 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.1668, allocations: 23.92 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.733e-06/0.1668, allocations: 224 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.1668, allocations: 8 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.167, allocations: 4 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.1672, allocations: 113 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.1673, allocations: 0.677 MB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.1674, allocations: 11.88 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.1674, allocations: 11.44 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.256e-06/0.1674, allocations: 0 / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.00321/0.1706, allocations: 0.8407 MB / 0.9843 GB, free: 21.98 MB / 0.6198 GB