Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8273/0.8273, allocations: 131 MB / 146.3 MB, free: 1.348 MB / 106.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.0009823/0.0009824, allocations: 192.2 kB / 176.4 MB, free: 4.895 MB / 138.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.37/1.37, allocations: 225.7 MB / 431.9 MB, free: 8.809 MB / 314.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.0007642/0.0007642, allocations: 97.2 kB / 0.5003 GB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 8 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 79.61 MB / 0.6663 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007863/0.1697, allocations: 338.1 kB / 0.6666 GB, free: 8.582 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.1705, allocations: 0.5883 MB / 0.6672 GB, free: 7.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.1706, allocations: 4 kB / 0.6672 GB, free: 7.934 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1706, allocations: 0 / 0.6672 GB, free: 7.934 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.1706, allocations: 0 / 0.6672 GB, free: 7.934 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.1711, allocations: 83.78 kB / 0.6673 GB, free: 7.852 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.1712, allocations: 23.92 kB / 0.6673 GB, free: 7.828 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1712, allocations: 0 / 0.6673 GB, free: 7.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.1713, allocations: 15.97 kB / 0.6673 GB, free: 7.812 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.1713, allocations: 11.94 kB / 0.6673 GB, free: 7.801 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1713, allocations: 3.938 kB / 0.6673 GB, free: 7.797 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.1717, allocations: 267.7 kB / 0.6676 GB, free: 7.535 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.1718, allocations: 3.984 kB / 0.6676 GB, free: 7.531 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1718, allocations: 41.58 kB / 0.6676 GB, free: 7.484 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.172, allocations: 103.8 kB / 0.6677 GB, free: 7.383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1721, allocations: 4 kB / 0.6677 GB, free: 7.379 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1721, allocations: 0 / 0.6677 GB, free: 7.379 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1721, allocations: 0 / 0.6677 GB, free: 7.379 MB / 442.7 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.0004473/0.1725, allocations: 347.9 kB / 0.668 GB, free: 6.988 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1726, allocations: 8.031 kB / 0.6681 GB, free: 6.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.1727, allocations: 8.844 kB / 0.6681 GB, free: 6.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1728, allocations: 164.3 kB / 0.6682 GB, free: 6.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1728, allocations: 4.312 kB / 0.6682 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1728, allocations: 8.375 kB / 0.6682 GB, free: 6.762 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.173, allocations: 54.23 kB / 0.6683 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.173, allocations: 192 / 0.6683 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.173, allocations: 7.938 kB / 0.6683 GB, free: 6.695 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.173, allocations: 0 / 0.6683 GB, free: 6.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.1731, allocations: 15.98 kB / 0.6683 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1733, allocations: 169.6 kB / 0.6685 GB, free: 6.465 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1734, allocations: 58.5 kB / 0.6685 GB, free: 6.398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.1735, allocations: 32.84 kB / 0.6686 GB, free: 6.363 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.1742, allocations: 461.5 kB / 0.669 GB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.1743, allocations: 42.55 kB / 0.669 GB, free: 5.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.1743, allocations: 0 / 0.669 GB, free: 5.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001396/0.1757, allocations: 0.5878 MB / 0.6696 GB, free: 5.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1757, allocations: 55.41 kB / 0.6697 GB, free: 5.023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.1758, allocations: 97.86 kB / 0.6698 GB, free: 4.918 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1758, allocations: 29.7 kB / 0.6698 GB, free: 4.883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1759, allocations: 80.14 kB / 0.6699 GB, free: 4.801 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.1759, allocations: 39.45 kB / 0.6699 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1759, allocations: 0 / 0.6699 GB, free: 4.762 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1761, allocations: 322.8 kB / 0.6702 GB, free: 4.438 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.1761, allocations: 12 kB / 0.6702 GB, free: 4.426 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.1762, allocations: 31.98 kB / 0.6702 GB, free: 4.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1763, allocations: 69.03 kB / 0.6703 GB, free: 4.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1763, allocations: 3.938 kB / 0.6703 GB, free: 4.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001672/0.1765, allocations: 93.53 kB / 0.6704 GB, free: 4.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1765, allocations: 4 kB / 0.6704 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1765, allocations: 0 / 0.6704 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1765, allocations: 0 / 0.6704 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1766, allocations: 27.92 kB / 0.6704 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1767, allocations: 0 / 0.6704 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.1767, allocations: 8 kB / 0.6704 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1767, allocations: 4 kB / 0.6704 GB, free: 4.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 9.587e-05/0.1768, allocations: 119.2 kB / 0.6706 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1768, allocations: 7.938 kB / 0.6706 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.1771, allocations: 105.7 kB / 0.6707 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1771, allocations: 3.938 kB / 0.6707 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1771, allocations: 0 / 0.6707 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1771, allocations: 0 / 0.6707 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.1775, allocations: 362.5 kB / 0.671 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1775, allocations: 0 / 0.671 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1777, allocations: 23.98 kB / 0.671 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1777, allocations: 7.938 kB / 0.671 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1777, allocations: 4 kB / 0.6711 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1777, allocations: 0 / 0.6711 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1777, allocations: 0 / 0.6711 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.178, allocations: 215.4 kB / 0.6713 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.1781, allocations: 85 kB / 0.6713 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1781, allocations: 12.02 kB / 0.6714 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.1782, allocations: 4.062 kB / 0.6714 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1782, allocations: 4 kB / 0.6714 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1783, allocations: 4 kB / 0.6714 GB, free: 3.141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.593e-05/0.1783, allocations: 83.27 kB / 0.6714 GB, free: 3.059 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1783, allocations: 4 kB / 0.6714 GB, free: 3.055 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.1786, allocations: 44 kB / 0.6715 GB, free: 3.012 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0003059/0.1789, allocations: 143.5 kB / 0.6716 GB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.1791, allocations: 75.84 kB / 0.6717 GB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1791, allocations: 0 / 0.6717 GB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.1791, allocations: 31.92 kB / 0.6717 GB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1794, allocations: 9.219 kB / 0.6717 GB, free: 2.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.1798, allocations: 191.6 kB / 0.6719 GB, free: 2.535 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1801, allocations: 0.686 MB / 0.6726 GB, free: 1.824 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.1801, allocations: 19.92 kB / 0.6726 GB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1802, allocations: 11.44 kB / 0.6726 GB, free: 1.793 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1802, allocations: 0 / 0.6726 GB, free: 1.793 MB / 442.7 MB Notification: Performance of Templates: time 0.004029/0.1842, allocations: 1.394 MB / 0.674 GB, free: 408 kB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)