Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8072/0.8072, allocations: 143.8 MB / 159.1 MB, free: 6.484 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009366/0.0009368, allocations: 186.3 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.7 MB / 450.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008324/0.0008325, allocations: 115.2 kB / 0.5211 GB, free: 1.645 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 277.5 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004904, allocations: 15.09 kB / 0.6948 GB, free: 59.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1668, allocations: 82.45 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008728/0.1678, allocations: 318.4 kB / 0.7756 GB, free: 14.02 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.1687, allocations: 0.5831 MB / 0.7762 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.1688, allocations: 4 kB / 0.7762 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1688, allocations: 0 / 0.7762 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/0.1689, allocations: 0 / 0.7762 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.1694, allocations: 75.83 kB / 0.7763 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.586e-05/0.1695, allocations: 15.92 kB / 0.7763 GB, free: 13.29 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.1695, allocations: 4 kB / 0.7763 GB, free: 13.28 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1695, allocations: 3.938 kB / 0.7763 GB, free: 13.28 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.1696, allocations: 7.984 kB / 0.7763 GB, free: 13.27 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1696, allocations: 7.938 kB / 0.7763 GB, free: 13.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.1701, allocations: 267.7 kB / 0.7766 GB, free: 13 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1701, allocations: 4 kB / 0.7766 GB, free: 13 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1701, allocations: 33.62 kB / 0.7766 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1703, allocations: 87.84 kB / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1703, allocations: 0 / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1704, allocations: 0 / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1704, allocations: 0 / 0.7767 GB, free: 12.87 MB / 458.7 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.0004333/0.1708, allocations: 339.6 kB / 0.777 GB, free: 12.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1708, allocations: 8.031 kB / 0.777 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.1709, allocations: 4.938 kB / 0.777 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.1711, allocations: 176.5 kB / 0.7772 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1711, allocations: 384 / 0.7772 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.1712, allocations: 384 / 0.7772 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1713, allocations: 30.27 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1713, allocations: 4.125 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1713, allocations: 7.938 kB / 0.7772 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1713, allocations: 0 / 0.7772 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.1714, allocations: 7.938 kB / 0.7772 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1716, allocations: 157.7 kB / 0.7774 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.1716, allocations: 22.59 kB / 0.7774 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.1717, allocations: 8.922 kB / 0.7774 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.1724, allocations: 457.5 kB / 0.7778 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.1725, allocations: 34.56 kB / 0.7779 GB, free: 11.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1725, allocations: 0 / 0.7779 GB, free: 11.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005855/0.173, allocations: 250.5 kB / 0.7781 GB, free: 11.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1731, allocations: 59.41 kB / 0.7782 GB, free: 11.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.1732, allocations: 97.84 kB / 0.7783 GB, free: 10.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1732, allocations: 25.7 kB / 0.7783 GB, free: 10.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.1732, allocations: 84.14 kB / 0.7784 GB, free: 10.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.1733, allocations: 7.812 kB / 0.7784 GB, free: 10.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.1733, allocations: 0 / 0.7784 GB, free: 10.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1734, allocations: 314.8 kB / 0.7787 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.1734, allocations: 12.11 kB / 0.7787 GB, free: 10.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.1735, allocations: 17.72 kB / 0.7787 GB, free: 10.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.1735, allocations: 25.72 kB / 0.7787 GB, free: 10.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1735, allocations: 0 / 0.7787 GB, free: 10.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.1737, allocations: 53.62 kB / 0.7788 GB, free: 10.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1737, allocations: 7.938 kB / 0.7788 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1737, allocations: 4.062 kB / 0.7788 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1737, allocations: 0 / 0.7788 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.1738, allocations: 12 kB / 0.7788 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1738, allocations: 7.922 kB / 0.7788 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1738, allocations: 3.938 kB / 0.7788 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1738, allocations: 4 kB / 0.7788 GB, free: 10.3 MB / 458.7 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 8.684e-05/0.1739, allocations: 113.8 kB / 0.7789 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.174, allocations: 7.938 kB / 0.7789 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1741, allocations: 53.19 kB / 0.779 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1741, allocations: 0 / 0.779 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1741, allocations: 0 / 0.779 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1741, allocations: 0 / 0.779 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1743, allocations: 153.7 kB / 0.7791 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1743, allocations: 4.125 kB / 0.7791 GB, free: 9.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.1743, allocations: 7.984 kB / 0.7792 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1743, allocations: 3.938 kB / 0.7792 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1744, allocations: 7.984 kB / 0.7792 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1744, allocations: 3.938 kB / 0.7792 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1744, allocations: 4 kB / 0.7792 GB, free: 9.883 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.1745, allocations: 77.03 kB / 0.7792 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.1746, allocations: 77.11 kB / 0.7793 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1746, allocations: 3.938 kB / 0.7793 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.1746, allocations: 4.031 kB / 0.7793 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1747, allocations: 3.984 kB / 0.7793 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1747, allocations: 0 / 0.7793 GB, free: 9.684 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.1747, allocations: 87.34 kB / 0.7794 GB, free: 9.598 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1747, allocations: 0 / 0.7794 GB, free: 9.598 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002165/0.175, allocations: 24 kB / 0.7794 GB, free: 9.574 MB / 458.7 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.000241/0.1752, allocations: 127.8 kB / 0.7796 GB, free: 9.438 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.1753, allocations: 23.92 kB / 0.7796 GB, free: 9.414 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1753, allocations: 0 / 0.7796 GB, free: 9.414 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.1753, allocations: 4 kB / 0.7796 GB, free: 9.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.1755, allocations: 10.28 kB / 0.7796 GB, free: 9.402 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.1758, allocations: 117 kB / 0.7797 GB, free: 9.262 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.176, allocations: 0.677 MB / 0.7804 GB, free: 8.559 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.733e-05/0.1761, allocations: 11.88 kB / 0.7804 GB, free: 8.547 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.1761, allocations: 7.438 kB / 0.7804 GB, free: 8.539 MB / 458.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1761, allocations: 3.938 kB / 0.7804 GB, free: 8.535 MB / 458.7 MB Notification: Performance of Templates: time 0.003146/0.1793, allocations: 0.8613 MB / 0.7812 GB, free: 7.68 MB / 458.7 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)