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.001391/0.001392, allocations: 106 kB / 16.4 MB, free: 6.504 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.001501/0.001501, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7405/0.7405, allocations: 115.3 MB / 406.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.48 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001618/0.1623, allocations: 0.6057 MB / 0.6327 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.163, allocations: 359 kB / 0.6331 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.163, allocations: 0 / 0.6331 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.1631, allocations: 0 / 0.6331 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.848e-05/0.1631, allocations: 0 / 0.6331 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.1636, allocations: 126.3 kB / 0.6332 GB, free: 3.371 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.1636, allocations: 19.98 kB / 0.6332 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.1637, allocations: 0 / 0.6332 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.1638, allocations: 23.91 kB / 0.6332 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.1638, allocations: 11.98 kB / 0.6332 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1638, allocations: 4 kB / 0.6332 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.1642, allocations: 271.7 kB / 0.6335 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.1642, allocations: 11.92 kB / 0.6335 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.1643, allocations: 15.92 kB / 0.6335 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1645, allocations: 95.78 kB / 0.6336 GB, free: 2.926 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1645, allocations: 0 / 0.6336 GB, free: 2.926 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1645, allocations: 3.938 kB / 0.6336 GB, free: 2.922 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1645, allocations: 0 / 0.6336 GB, free: 2.922 MB / 478.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.000421/0.1649, allocations: 371.4 kB / 0.634 GB, free: 2.508 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.165, allocations: 8.031 kB / 0.634 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.165, allocations: 4.938 kB / 0.634 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1651, allocations: 160.4 kB / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1652, allocations: 4.375 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1652, allocations: 8.359 kB / 0.6342 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1653, allocations: 50.23 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1653, allocations: 192 / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1653, allocations: 7.938 kB / 0.6342 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1653, allocations: 4 kB / 0.6342 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.1654, allocations: 23.92 kB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.1656, allocations: 173.5 kB / 0.6344 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1657, allocations: 58.55 kB / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.1657, allocations: 24.86 kB / 0.6345 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/0.1664, allocations: 465.4 kB / 0.6349 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1665, allocations: 30.56 kB / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1665, allocations: 0 / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001228/0.1677, allocations: 0.5917 MB / 0.6355 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1677, allocations: 59.34 kB / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.1678, allocations: 97.84 kB / 0.6357 GB, free: 452 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1678, allocations: 29.7 kB / 0.6357 GB, free: 416 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.1679, allocations: 84.08 kB / 0.6358 GB, free: 328 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1679, allocations: 39.45 kB / 0.6358 GB, free: 288 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.168, allocations: 25.72 kB / 0.6359 GB, free: 256 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1681, allocations: 322.8 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.1681, allocations: 16 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.1682, allocations: 23.98 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.1683, allocations: 48.86 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1683, allocations: 0 / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00016/0.1684, allocations: 107.8 kB / 0.6363 GB, free: 15.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1685, allocations: 8 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1685, allocations: 4 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1685, allocations: 0 / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1686, allocations: 23.98 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1686, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.1687, allocations: 8 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1687, allocations: 4 kB / 0.6364 GB, free: 15.68 MB / 494.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 8.275e-05/0.1688, allocations: 109.8 kB / 0.6365 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1688, allocations: 11.84 kB / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.169, allocations: 125.5 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.169, allocations: 4 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.169, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.169, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.1694, allocations: 354.5 kB / 0.637 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1694, allocations: 0 / 0.637 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1695, allocations: 19.98 kB / 0.637 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1695, allocations: 0 / 0.637 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1696, allocations: 8 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1696, allocations: 0 / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1696, allocations: 0 / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1698, allocations: 227.6 kB / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1699, allocations: 89.06 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1699, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.17, allocations: 4 kB / 0.6373 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.17, allocations: 7.984 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.17, allocations: 4 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.4e-05/0.1701, allocations: 87.45 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1701, allocations: 4.062 kB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1704, allocations: 39.98 kB / 0.6374 GB, free: 14.49 MB / 494.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.0002281/0.1706, allocations: 139.2 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.1707, allocations: 71.78 kB / 0.6376 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1707, allocations: 0 / 0.6376 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/0.1708, allocations: 31.98 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.171, allocations: 9.719 kB / 0.6377 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.1714, allocations: 178 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1716, allocations: 0.6846 MB / 0.6385 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.554e-05/0.1717, allocations: 8 kB / 0.6385 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.1717, allocations: 11.44 kB / 0.6385 GB, free: 13.31 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1717, allocations: 0 / 0.6385 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Templates: time 0.003879/0.1756, allocations: 1.421 MB / 0.6399 GB, free: 11.89 MB / 494.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)