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.000909/0.0009091, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.005407/0.005407, allocations: 181 kB / 16.26 MB, free: 6.605 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001694, allocations: 274.5 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9258/0.9258, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004264, allocations: 15.69 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007287/0.1559, allocations: 343.2 kB / 0.6855 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007011/0.1566, allocations: 379.9 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.546e-05/0.1566, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.1567, allocations: 0.5625 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.233e-05/0.1567, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1571, allocations: 81.47 kB / 0.6859 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.1571, allocations: 27.86 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.1572, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.1572, allocations: 11.98 kB / 0.686 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.1573, allocations: 17.08 kB / 0.686 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1573, allocations: 4 kB / 0.686 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.1577, allocations: 271.6 kB / 0.6862 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.1577, allocations: 7.281 kB / 0.6862 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.1578, allocations: 45.56 kB / 0.6863 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1579, allocations: 103.8 kB / 0.6864 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.158, allocations: 0 / 0.6864 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.158, allocations: 0 / 0.6864 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.158, allocations: 0 / 0.6864 GB, free: 13.84 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.0003845/0.1584, allocations: 347.8 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1584, allocations: 8.531 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.1585, allocations: 9.406 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1586, allocations: 164.4 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1586, allocations: 4.938 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1586, allocations: 6.531 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1588, allocations: 58.11 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1588, allocations: 4.172 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1588, allocations: 3.938 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1588, allocations: 4 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.386e-05/0.1589, allocations: 16.73 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.1591, allocations: 162.5 kB / 0.6871 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1592, allocations: 64.27 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.1592, allocations: 24.86 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.1599, allocations: 468.3 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1599, allocations: 36.84 kB / 0.6877 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1599, allocations: 0 / 0.6877 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001241/0.1612, allocations: 0.593 MB / 0.6883 GB, free: 11.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.1612, allocations: 51.94 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.1613, allocations: 103.1 kB / 0.6884 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1613, allocations: 29.7 kB / 0.6885 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.1614, allocations: 80.14 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1614, allocations: 40.3 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.1614, allocations: 17.72 kB / 0.6886 GB, free: 11.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.1615, allocations: 318.8 kB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.1616, allocations: 20 kB / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.1616, allocations: 23.98 kB / 0.6889 GB, free: 10.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.426e-05/0.1617, allocations: 56.8 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.395e-05/0.1618, allocations: 4 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001511/0.1619, allocations: 101.5 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1619, allocations: 4 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1619, allocations: 0 / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.162, allocations: 4 kB / 0.6891 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1621, allocations: 27.98 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1621, allocations: 0 / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.1621, allocations: 0 / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1621, allocations: 4 kB / 0.6891 GB, free: 10.64 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.503e-05/0.1622, allocations: 119.1 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1622, allocations: 7.938 kB / 0.6892 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.1624, allocations: 101.6 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1625, allocations: 0 / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1625, allocations: 12 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1625, allocations: 0 / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1629, allocations: 354.4 kB / 0.6897 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1629, allocations: 0 / 0.6897 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.163, allocations: 27.98 kB / 0.6897 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.163, allocations: 0 / 0.6897 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.163, allocations: 0 / 0.6897 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.163, allocations: 0 / 0.6897 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.163, allocations: 4.281 kB / 0.6897 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1633, allocations: 227.2 kB / 0.6899 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.1634, allocations: 93.02 kB / 0.69 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1634, allocations: 4 kB / 0.69 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.1635, allocations: 7.984 kB / 0.69 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.1635, allocations: 4 kB / 0.69 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1635, allocations: 4 kB / 0.6901 GB, free: 9.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.1636, allocations: 83.27 kB / 0.6901 GB, free: 9.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1636, allocations: 0 / 0.6901 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1638, allocations: 48.06 kB / 0.6902 GB, free: 9.461 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.0002631/0.1641, allocations: 139.2 kB / 0.6903 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1642, allocations: 79.22 kB / 0.6904 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1643, allocations: 0 / 0.6904 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.1643, allocations: 39.86 kB / 0.6904 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1645, allocations: 5.969 kB / 0.6904 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.1648, allocations: 194.9 kB / 0.6906 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1652, allocations: 0.6848 MB / 0.6913 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1652, allocations: 8 kB / 0.6913 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.1652, allocations: 19.42 kB / 0.6913 GB, free: 8.246 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1652, allocations: 0 / 0.6913 GB, free: 8.246 MB / 494.1 MB Notification: Performance of Templates: time 0.0036/0.1689, allocations: 1.385 MB / 0.6927 GB, free: 6.895 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)