Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0017/0.0017, allocations: 194 kB / 16.14 MB, free: 6.707 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 290.3 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.96/0.96, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 100.3 kB / 0.5945 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1577, allocations: 86.98 MB / 0.6795 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001896/0.1597, allocations: 0.6712 MB / 0.6801 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.1604, allocations: 386.7 kB / 0.6805 GB, free: 152 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.1605, allocations: 0 / 0.6805 GB, free: 152 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1605, allocations: 4 kB / 0.6805 GB, free: 148 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.579e-05/0.1605, allocations: 0 / 0.6805 GB, free: 148 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.1609, allocations: 75.84 kB / 0.6806 GB, free: 72 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.161, allocations: 31.91 kB / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.161, allocations: 3.938 kB / 0.6806 GB, free: 36 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.1611, allocations: 11.92 kB / 0.6806 GB, free: 24 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.1611, allocations: 11.94 kB / 0.6806 GB, free: 12 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1611, allocations: 8 kB / 0.6806 GB, free: 4 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.1615, allocations: 275.6 kB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.1615, allocations: 3.984 kB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.1616, allocations: 15.92 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1617, allocations: 99.78 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1618, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1618, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.1618, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.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.0004781/0.1623, allocations: 359.8 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.158e-05/0.1623, allocations: 8.031 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.1624, allocations: 16.78 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1625, allocations: 164.4 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1625, allocations: 384 / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1626, allocations: 12.31 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1627, allocations: 46.25 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1627, allocations: 4.172 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1627, allocations: 3.938 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1627, allocations: 0 / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.1628, allocations: 19.98 kB / 0.6816 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.1629, allocations: 169.6 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.1631, allocations: 58.5 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.1631, allocations: 32.84 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.1638, allocations: 461.4 kB / 0.6823 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1638, allocations: 38.56 kB / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1638, allocations: 0 / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001266/0.1651, allocations: 0.5914 MB / 0.6829 GB, free: 13.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1651, allocations: 51.41 kB / 0.683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.1652, allocations: 97.86 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1652, allocations: 25.7 kB / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.1653, allocations: 80.14 kB / 0.6831 GB, free: 13.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.1653, allocations: 43.45 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1654, allocations: 29.7 kB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1656, allocations: 314.8 kB / 0.6835 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.1656, allocations: 23.98 kB / 0.6835 GB, free: 12.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1658, allocations: 26.61 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.1659, allocations: 56.8 kB / 0.6836 GB, free: 12.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1659, allocations: 4 kB / 0.6836 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001531/0.166, allocations: 93.53 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1661, allocations: 4 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1661, allocations: 0 / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1661, allocations: 4 kB / 0.6837 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1662, allocations: 27.98 kB / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1662, allocations: 7.938 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.1663, allocations: 0 / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1663, allocations: 4 kB / 0.6838 GB, free: 12.38 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 0.0001601/0.1664, allocations: 119.1 kB / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.1665, allocations: 7.938 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.1667, allocations: 105.9 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1667, allocations: 0 / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1667, allocations: 4 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1667, allocations: 7.938 kB / 0.684 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.1671, allocations: 358.5 kB / 0.6843 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1671, allocations: 0 / 0.6843 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1672, allocations: 27.98 kB / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1672, allocations: 0 / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1672, allocations: 0 / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1673, allocations: 3.938 kB / 0.6844 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1673, allocations: 4 kB / 0.6844 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.1675, allocations: 219.4 kB / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1676, allocations: 89.03 kB / 0.6847 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1676, allocations: 4 kB / 0.6847 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.1677, allocations: 4 kB / 0.6847 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.1677, allocations: 7.984 kB / 0.6847 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1677, allocations: 4 kB / 0.6847 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.407e-05/0.1678, allocations: 79.47 kB / 0.6848 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1678, allocations: 0 / 0.6848 GB, free: 11.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1681, allocations: 52.05 kB / 0.6848 GB, free: 11.2 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.0002403/0.1683, allocations: 147.2 kB / 0.6849 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1685, allocations: 62.92 kB / 0.685 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1685, allocations: 0 / 0.685 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.1685, allocations: 35.92 kB / 0.685 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1688, allocations: 4 kB / 0.685 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.1691, allocations: 204 kB / 0.6852 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1694, allocations: 0.6887 MB / 0.6859 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.1695, allocations: 19.91 kB / 0.6859 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1696, allocations: 11.44 kB / 0.6859 GB, free: 9.984 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1696, allocations: 0 / 0.6859 GB, free: 9.984 MB / 494.1 MB Notification: Performance of Templates: time 0.003661/0.1732, allocations: 1.391 MB / 0.6873 GB, free: 8.625 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)