Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 100.1 kB / 15.88 MB, free: 12 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.001281/0.001281, allocations: 205.3 kB / 16.79 MB, free: 6.84 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7852/0.7852, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 68 kB / 0.4904 GB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1776, allocations: 77.93 MB / 0.5665 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00177/0.1794, allocations: 0.6356 MB / 0.5671 GB, free: 80 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007524/0.1802, allocations: 354.9 kB / 0.5675 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.05e-05/0.1802, allocations: 0 / 0.5675 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1802, allocations: 0 / 0.5675 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.1803, allocations: 0 / 0.5675 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.1806, allocations: 79.77 kB / 0.5676 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.066e-05/0.1807, allocations: 0 / 0.5676 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.1807, allocations: 0 / 0.5676 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.1807, allocations: 4 kB / 0.5676 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.062e-05/0.1807, allocations: 0 / 0.5676 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1808, allocations: 3.938 kB / 0.5676 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.1811, allocations: 271.7 kB / 0.5678 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.1811, allocations: 4 kB / 0.5678 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.1812, allocations: 3.984 kB / 0.5678 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1813, allocations: 83.86 kB / 0.5679 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1814, allocations: 0 / 0.5679 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1814, allocations: 7.938 kB / 0.5679 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1814, allocations: 0 / 0.5679 GB, free: 15.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003108/0.1817, allocations: 331.6 kB / 0.5682 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1817, allocations: 12.02 kB / 0.5683 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.1818, allocations: 4.938 kB / 0.5683 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.708e-05/0.1819, allocations: 164.4 kB / 0.5684 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.1819, allocations: 384 / 0.5684 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1819, allocations: 384 / 0.5684 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.182, allocations: 30.27 kB / 0.5684 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.182, allocations: 8.125 kB / 0.5685 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1821, allocations: 3.938 kB / 0.5685 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1821, allocations: 0 / 0.5685 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.1821, allocations: 0 / 0.5685 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1822, allocations: 145.7 kB / 0.5686 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.748e-05/0.1823, allocations: 22.61 kB / 0.5686 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.1823, allocations: 4.859 kB / 0.5686 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.1829, allocations: 433.5 kB / 0.569 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1829, allocations: 30.56 kB / 0.5691 GB, free: 13.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.806e-06/0.1829, allocations: 0 / 0.5691 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.1831, allocations: 41.58 kB / 0.5691 GB, free: 13.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1831, allocations: 55.52 kB / 0.5692 GB, free: 13.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.638e-05/0.1832, allocations: 93.86 kB / 0.5692 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1832, allocations: 25.7 kB / 0.5693 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.1832, allocations: 80.14 kB / 0.5693 GB, free: 13.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1833, allocations: 3.906 kB / 0.5693 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1833, allocations: 17.72 kB / 0.5694 GB, free: 13.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1834, allocations: 310.8 kB / 0.5697 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.1834, allocations: 0 / 0.5697 GB, free: 13.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.1834, allocations: 4 kB / 0.5697 GB, free: 13.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.1835, allocations: 16.86 kB / 0.5697 GB, free: 13.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1835, allocations: 0 / 0.5697 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.03e-05/0.1835, allocations: 37.69 kB / 0.5697 GB, free: 13.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1836, allocations: 5.406 kB / 0.5697 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1836, allocations: 0 / 0.5697 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1836, allocations: 3.938 kB / 0.5697 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.926e-05/0.1836, allocations: 4 kB / 0.5697 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1836, allocations: 0 / 0.5697 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.1837, allocations: 4.031 kB / 0.5697 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1837, allocations: 4 kB / 0.5697 GB, free: 13.11 MB / 446.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 (1): * Single equations (assignments): 1 * 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 6.362e-05/0.1837, allocations: 105.8 kB / 0.5698 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.1838, allocations: 0 / 0.5698 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.72e-05/0.1838, allocations: 48.69 kB / 0.5699 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1839, allocations: 3.938 kB / 0.5699 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1839, allocations: 0 / 0.5699 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1839, allocations: 0 / 0.5699 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.016e-05/0.184, allocations: 149.7 kB / 0.57 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.184, allocations: 3.984 kB / 0.57 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.184, allocations: 4 kB / 0.57 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.184, allocations: 0 / 0.57 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.184, allocations: 3.938 kB / 0.57 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.184, allocations: 3.938 kB / 0.57 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.184, allocations: 0 / 0.57 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.795e-05/0.1841, allocations: 57.08 kB / 0.5701 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.1841, allocations: 85.12 kB / 0.5702 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.1842, allocations: 3.938 kB / 0.5702 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.1842, allocations: 4 kB / 0.5702 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1842, allocations: 4 kB / 0.5702 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.1842, allocations: 0 / 0.5702 GB, free: 12.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.057e-05/0.1842, allocations: 75.28 kB / 0.5703 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1842, allocations: 0 / 0.5703 GB, free: 12.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1844, allocations: 8.281 kB / 0.5703 GB, free: 12.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001721/0.1846, allocations: 123.2 kB / 0.5704 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.461e-05/0.1847, allocations: 4 kB / 0.5704 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1847, allocations: 0 / 0.5704 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.791e-06/0.1847, allocations: 0 / 0.5704 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1848, allocations: 7.984 kB / 0.5704 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.185, allocations: 78.7 kB / 0.5705 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1852, allocations: 0.6731 MB / 0.5711 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.756e-05/0.1852, allocations: 12.12 kB / 0.5711 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.1853, allocations: 7.438 kB / 0.5712 GB, free: 11.49 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1853, allocations: 3.938 kB / 0.5712 GB, free: 11.49 MB / 446.1 MB Notification: Performance of Templates: time 0.002241/0.1875, allocations: 454.2 kB / 0.5716 GB, free: 11.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)