Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008468, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 185 kB / 16.92 MB, free: 6.773 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7523/0.7523, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003977, allocations: 12 kB / 495.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 77.53 MB / 0.56 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0009023/0.1837, allocations: 350.2 kB / 0.5603 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.1846, allocations: 374.9 kB / 0.5607 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.1846, allocations: 0 / 0.5607 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1847, allocations: 4 kB / 0.5607 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.172e-05/0.1847, allocations: 0 / 0.5607 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1851, allocations: 75.78 kB / 0.5607 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.1852, allocations: 23.92 kB / 0.5608 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1852, allocations: 11.98 kB / 0.5608 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.1853, allocations: 4 kB / 0.5608 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.1854, allocations: 23.84 kB / 0.5608 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1854, allocations: 0 / 0.5608 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.1857, allocations: 275.7 kB / 0.5611 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.1858, allocations: 7.922 kB / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.1858, allocations: 37.64 kB / 0.5611 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.186, allocations: 103.8 kB / 0.5612 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.186, allocations: 0 / 0.5612 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.186, allocations: 0 / 0.5612 GB, free: 7.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.186, allocations: 0 / 0.5612 GB, free: 7.711 MB / 430.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.0004021/0.1864, allocations: 351.8 kB / 0.5615 GB, free: 7.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1865, allocations: 8.031 kB / 0.5615 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.1865, allocations: 12.84 kB / 0.5616 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1867, allocations: 164.3 kB / 0.5617 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1867, allocations: 4.375 kB / 0.5617 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1867, allocations: 8.375 kB / 0.5617 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.1868, allocations: 46.23 kB / 0.5618 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1869, allocations: 4.188 kB / 0.5618 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1869, allocations: 7.938 kB / 0.5618 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1869, allocations: 0 / 0.5618 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.1869, allocations: 15.98 kB / 0.5618 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1871, allocations: 173.6 kB / 0.562 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1872, allocations: 58.5 kB / 0.562 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.1873, allocations: 28.84 kB / 0.562 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.188, allocations: 469.5 kB / 0.5625 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.188, allocations: 34.56 kB / 0.5625 GB, free: 6.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.188, allocations: 0 / 0.5625 GB, free: 6.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001352/0.1894, allocations: 0.591 MB / 0.5631 GB, free: 5.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1894, allocations: 55.41 kB / 0.5632 GB, free: 5.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.1895, allocations: 97.86 kB / 0.5633 GB, free: 5.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1895, allocations: 25.7 kB / 0.5633 GB, free: 5.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.1896, allocations: 92.06 kB / 0.5634 GB, free: 5.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.1896, allocations: 31.47 kB / 0.5634 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1897, allocations: 21.8 kB / 0.5634 GB, free: 5.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1898, allocations: 318.8 kB / 0.5637 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.1898, allocations: 23.98 kB / 0.5637 GB, free: 4.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.1899, allocations: 27.36 kB / 0.5638 GB, free: 4.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.19, allocations: 56.8 kB / 0.5638 GB, free: 4.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.19, allocations: 0 / 0.5638 GB, free: 4.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001492/0.1901, allocations: 101.5 kB / 0.5639 GB, free: 4.527 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1901, allocations: 8 kB / 0.5639 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1902, allocations: 3.984 kB / 0.5639 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1902, allocations: 0 / 0.5639 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.1903, allocations: 23.94 kB / 0.564 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1903, allocations: 4 kB / 0.564 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.1903, allocations: 0 / 0.564 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1903, allocations: 4 kB / 0.564 GB, free: 4.484 MB / 430.1 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 7.433e-05/0.1904, allocations: 113.8 kB / 0.5641 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1904, allocations: 11.94 kB / 0.5641 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.1906, allocations: 102.3 kB / 0.5642 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1906, allocations: 4 kB / 0.5642 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1907, allocations: 7.938 kB / 0.5642 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1907, allocations: 3.984 kB / 0.5642 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1911, allocations: 354.5 kB / 0.5645 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1911, allocations: 4 kB / 0.5645 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1912, allocations: 19.94 kB / 0.5646 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1912, allocations: 0 / 0.5646 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1912, allocations: 4 kB / 0.5646 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1912, allocations: 0 / 0.5646 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1912, allocations: 0 / 0.5646 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1915, allocations: 224.6 kB / 0.5648 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1915, allocations: 89 kB / 0.5649 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1916, allocations: 4.031 kB / 0.5649 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.1916, allocations: 0 / 0.5649 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1917, allocations: 11.98 kB / 0.5649 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1917, allocations: 7.938 kB / 0.5649 GB, free: 3.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.1917, allocations: 79.45 kB / 0.565 GB, free: 3.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1917, allocations: 0 / 0.565 GB, free: 3.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.192, allocations: 52.05 kB / 0.565 GB, free: 3.309 MB / 430.1 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.0002507/0.1923, allocations: 143.2 kB / 0.5651 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1924, allocations: 59.86 kB / 0.5652 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1924, allocations: 7.875 kB / 0.5652 GB, free: 3.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/0.1925, allocations: 35.98 kB / 0.5652 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1927, allocations: 0 / 0.5652 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1931, allocations: 200.2 kB / 0.5654 GB, free: 2.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1934, allocations: 0.6887 MB / 0.5661 GB, free: 2.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.043e-05/0.1934, allocations: 11.98 kB / 0.5661 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.1934, allocations: 11.44 kB / 0.5661 GB, free: 2.098 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1935, allocations: 3.938 kB / 0.5661 GB, free: 2.094 MB / 430.1 MB Notification: Performance of Templates: time 0.00383/0.1973, allocations: 1.374 MB / 0.5675 GB, free: 0.7383 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)