Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007509/0.0007509, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00489/0.00489, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 274.3 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9466/0.9466, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004388, allocations: 14.19 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006512/0.1594, allocations: 327.3 kB / 0.6855 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006556/0.1601, allocations: 369.1 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.242e-05/0.1601, allocations: 0 / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.1601, allocations: 0 / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.105e-05/0.1602, allocations: 3.938 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.1605, allocations: 78.44 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.854e-05/0.1605, allocations: 7.984 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.1606, allocations: 0 / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.613e-05/0.1606, allocations: 4 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.1607, allocations: 15.91 kB / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1607, allocations: 1.75 kB / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.161, allocations: 271.6 kB / 0.6862 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.161, allocations: 4 kB / 0.6862 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.1611, allocations: 29.7 kB / 0.6862 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1612, allocations: 99.77 kB / 0.6863 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1612, allocations: 1.875 kB / 0.6863 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1613, allocations: 0 / 0.6863 GB, free: 13.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1613, allocations: 0 / 0.6863 GB, free: 13.87 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002949/0.1616, allocations: 335.9 kB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1616, allocations: 12.81 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1617, allocations: 0.9375 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.506e-05/0.1618, allocations: 168.8 kB / 0.6868 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1618, allocations: 4.969 kB / 0.6868 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1618, allocations: 3.812 kB / 0.6868 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.012e-05/0.1619, allocations: 34.25 kB / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.1619, allocations: 192 / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1619, allocations: 3.938 kB / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1619, allocations: 0 / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.1619, allocations: 8 kB / 0.6868 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1621, allocations: 149.7 kB / 0.687 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.425e-05/0.1621, allocations: 27.61 kB / 0.687 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.1622, allocations: 5.578 kB / 0.687 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/0.1628, allocations: 464.6 kB / 0.6875 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1629, allocations: 32.44 kB / 0.6875 GB, free: 12.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.1629, allocations: 0 / 0.6875 GB, free: 12.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004798/0.1634, allocations: 258.9 kB / 0.6877 GB, free: 12.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1634, allocations: 55.62 kB / 0.6878 GB, free: 12.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.1635, allocations: 101.8 kB / 0.6879 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1635, allocations: 25.7 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.1635, allocations: 84.08 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1636, allocations: 7.812 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.1636, allocations: 17.72 kB / 0.688 GB, free: 11.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.1637, allocations: 310.8 kB / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.1637, allocations: 7.984 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.1638, allocations: 21.84 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.1638, allocations: 25.66 kB / 0.6884 GB, free: 11.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1638, allocations: 0 / 0.6884 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.846e-05/0.1639, allocations: 53.62 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1639, allocations: 11.94 kB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1639, allocations: 0 / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1639, allocations: 4.062 kB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.164, allocations: 8.141 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.164, allocations: 0 / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.164, allocations: 7.922 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.164, allocations: 0 / 0.6885 GB, free: 11.3 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.1641, allocations: 115.2 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1642, allocations: 7.922 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1643, allocations: 57.12 kB / 0.6886 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1643, allocations: 0 / 0.6886 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1643, allocations: 4 kB / 0.6886 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1643, allocations: 0 / 0.6886 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.428e-05/0.1644, allocations: 153.7 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1644, allocations: 0 / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.1645, allocations: 11.98 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1645, allocations: 3.938 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.1645, allocations: 0 / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1645, allocations: 0 / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1645, allocations: 0 / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1646, allocations: 81.12 kB / 0.6889 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.1647, allocations: 84.95 kB / 0.6889 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1647, allocations: 7.922 kB / 0.689 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.1647, allocations: 0 / 0.689 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.1647, allocations: 4.031 kB / 0.689 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.1648, allocations: 0 / 0.689 GB, free: 10.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.1648, allocations: 83.28 kB / 0.689 GB, free: 10.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1648, allocations: 8.094 kB / 0.689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002006/0.165, allocations: 16 kB / 0.6891 GB, free: 10.57 MB / 494.1 MB 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 (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.0002058/0.1652, allocations: 127.2 kB / 0.6892 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.737e-05/0.1653, allocations: 19.98 kB / 0.6892 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1653, allocations: 0 / 0.6892 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.1653, allocations: 11.94 kB / 0.6892 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1655, allocations: 0.75 kB / 0.6892 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.1657, allocations: 117.1 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1659, allocations: 0.677 MB / 0.69 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.005e-05/0.166, allocations: 7.938 kB / 0.69 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.166, allocations: 15.44 kB / 0.69 GB, free: 9.543 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.166, allocations: 0 / 0.69 GB, free: 9.543 MB / 494.1 MB Notification: Performance of Templates: time 0.002873/0.1689, allocations: 0.8648 MB / 0.6909 GB, free: 8.715 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)