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.001257/0.001257, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001325/0.001325, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 283.6 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8797/0.8797, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 102.6 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1559, allocations: 86.97 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001822/0.1577, allocations: 0.6112 MB / 0.6814 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.1584, allocations: 350.7 kB / 0.6818 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.1584, allocations: 0 / 0.6818 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1585, allocations: 3.938 kB / 0.6818 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.228e-05/0.1585, allocations: 4 kB / 0.6818 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.159, allocations: 126.7 kB / 0.6819 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.976e-05/0.159, allocations: 19.97 kB / 0.6819 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1591, allocations: 4 kB / 0.6819 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.1591, allocations: 11.94 kB / 0.6819 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.1592, allocations: 11.92 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1592, allocations: 4 kB / 0.682 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.1596, allocations: 271.7 kB / 0.6822 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1596, allocations: 15.97 kB / 0.6822 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1596, allocations: 7.938 kB / 0.6822 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1598, allocations: 107.8 kB / 0.6823 GB, free: 6.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1598, allocations: 0 / 0.6823 GB, free: 6.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1598, allocations: 0 / 0.6823 GB, free: 6.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1599, allocations: 0 / 0.6823 GB, free: 6.664 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.0004115/0.1603, allocations: 355.8 kB / 0.6827 GB, free: 6.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1603, allocations: 8.031 kB / 0.6827 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.1604, allocations: 12.84 kB / 0.6827 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1605, allocations: 176.2 kB / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1605, allocations: 4.375 kB / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1605, allocations: 384 / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1607, allocations: 50.25 kB / 0.6829 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1607, allocations: 192 / 0.6829 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1607, allocations: 3.938 kB / 0.6829 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1607, allocations: 4 kB / 0.6829 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.1608, allocations: 15.98 kB / 0.6829 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.161, allocations: 169.6 kB / 0.6831 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1611, allocations: 74.47 kB / 0.6832 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.1611, allocations: 32.84 kB / 0.6832 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006683/0.1618, allocations: 457.5 kB / 0.6836 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1618, allocations: 30.56 kB / 0.6837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1618, allocations: 3.938 kB / 0.6837 GB, free: 5.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001228/0.1631, allocations: 0.5918 MB / 0.6843 GB, free: 4.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1631, allocations: 51.41 kB / 0.6843 GB, free: 4.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.1632, allocations: 97.84 kB / 0.6844 GB, free: 4.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1632, allocations: 33.7 kB / 0.6844 GB, free: 4.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.1633, allocations: 80.14 kB / 0.6845 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1633, allocations: 35.45 kB / 0.6845 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1633, allocations: 29.66 kB / 0.6846 GB, free: 3.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.1634, allocations: 318.8 kB / 0.6849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.1635, allocations: 27.98 kB / 0.6849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.1636, allocations: 24 kB / 0.6849 GB, free: 3.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.1636, allocations: 52.94 kB / 0.685 GB, free: 3.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1637, allocations: 3.938 kB / 0.685 GB, free: 3.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001473/0.1638, allocations: 97.53 kB / 0.6851 GB, free: 3.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1638, allocations: 4 kB / 0.6851 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1638, allocations: 7.984 kB / 0.6851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1639, allocations: 0 / 0.6851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.164, allocations: 23.92 kB / 0.6851 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.164, allocations: 4 kB / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.164, allocations: 8 kB / 0.6851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.164, allocations: 0 / 0.6851 GB, free: 3.418 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 7.891e-05/0.1641, allocations: 113.8 kB / 0.6852 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1641, allocations: 7.938 kB / 0.6852 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.1643, allocations: 117.5 kB / 0.6853 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1643, allocations: 4 kB / 0.6853 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1643, allocations: 0 / 0.6853 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1644, allocations: 0 / 0.6853 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.1647, allocations: 362.4 kB / 0.6857 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1647, allocations: 0 / 0.6857 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1649, allocations: 23.92 kB / 0.6857 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1649, allocations: 0 / 0.6857 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1649, allocations: 4 kB / 0.6857 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1649, allocations: 4 kB / 0.6857 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1649, allocations: 0 / 0.6857 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1651, allocations: 211.5 kB / 0.6859 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.1652, allocations: 96.97 kB / 0.686 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1652, allocations: 7.984 kB / 0.686 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.1653, allocations: 4 kB / 0.686 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.1653, allocations: 4 kB / 0.686 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1653, allocations: 4.188 kB / 0.686 GB, free: 2.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.542e-05/0.1654, allocations: 87.19 kB / 0.6861 GB, free: 2.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1654, allocations: 0 / 0.6861 GB, free: 2.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1657, allocations: 48 kB / 0.6862 GB, free: 2.23 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.000216/0.1659, allocations: 143.3 kB / 0.6863 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.166, allocations: 78.91 kB / 0.6864 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1661, allocations: 0 / 0.6864 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.1661, allocations: 27.98 kB / 0.6864 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1663, allocations: 9.016 kB / 0.6864 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.1667, allocations: 214.9 kB / 0.6866 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.167, allocations: 0.6846 MB / 0.6873 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.167, allocations: 15.44 kB / 0.6873 GB, free: 1.012 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.167, allocations: 0 / 0.6873 GB, free: 1.012 MB / 494.1 MB Notification: Performance of Templates: time 0.2199/0.3869, allocations: 1.193 MB / 0.6885 GB, free: 17.54 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)