Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009893/0.0009894, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009523/0.0009526, allocations: 194.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.474/1.474, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 76.09 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1657, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001619/0.1673, allocations: 0.686 MB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005301/0.1679, allocations: 350.8 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.1679, allocations: 0 / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1679, allocations: 0 / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.683e-05/0.168, allocations: 0 / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.1684, allocations: 114.6 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.166e-05/0.1684, allocations: 19.92 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.1685, allocations: 4 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.1685, allocations: 7.984 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.077e-05/0.1685, allocations: 15.92 kB / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1686, allocations: 0 / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.1689, allocations: 283.6 kB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1689, allocations: 7.938 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.1689, allocations: 15.92 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1691, allocations: 95.78 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1691, allocations: 0 / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1691, allocations: 4 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1691, allocations: 3.984 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB 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.0004551/0.1696, allocations: 359.7 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1696, allocations: 12.03 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.1697, allocations: 0.9375 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1699, allocations: 172.3 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1699, allocations: 4.375 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1699, allocations: 8.281 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1701, allocations: 54.23 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1701, allocations: 192 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1701, allocations: 7.938 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1701, allocations: 0 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.1702, allocations: 19.98 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.1704, allocations: 165.7 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1705, allocations: 54.5 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.1706, allocations: 32.84 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/0.1712, allocations: 457.5 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1712, allocations: 38.56 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1712, allocations: 4 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00112/0.1723, allocations: 0.5927 MB / 0.7863 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1724, allocations: 51.41 kB / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.1724, allocations: 101.8 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1725, allocations: 29.7 kB / 0.7865 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.1725, allocations: 84.14 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1725, allocations: 39.36 kB / 0.7866 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1726, allocations: 29.72 kB / 0.7866 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.1727, allocations: 314.8 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.1727, allocations: 23.98 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.1727, allocations: 19.94 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.817e-05/0.1728, allocations: 60.78 kB / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1728, allocations: 4 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001368/0.173, allocations: 105 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.173, allocations: 4 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.173, allocations: 0 / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.173, allocations: 0 / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.1731, allocations: 27.92 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1731, allocations: 0 / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.1731, allocations: 0 / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1732, allocations: 4 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB 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 6.399e-05/0.1732, allocations: 118.5 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.1733, allocations: 11.84 kB / 0.7873 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.1734, allocations: 109.6 kB / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1734, allocations: 0 / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.1735, allocations: 0 / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1735, allocations: 7.938 kB / 0.7874 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1738, allocations: 350.5 kB / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1738, allocations: 0 / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.1739, allocations: 27.92 kB / 0.7878 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1739, allocations: 4 kB / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1739, allocations: 0 / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1739, allocations: 0 / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1739, allocations: 0 / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1742, allocations: 223.6 kB / 0.788 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.1742, allocations: 89.12 kB / 0.7881 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1742, allocations: 4 kB / 0.7881 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.1743, allocations: 4 kB / 0.7881 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.1743, allocations: 12.06 kB / 0.7881 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1743, allocations: 3.984 kB / 0.7881 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.712e-05/0.1744, allocations: 79.28 kB / 0.7882 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1744, allocations: 0 / 0.7882 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002508/0.1746, allocations: 40 kB / 0.7882 GB, free: 7.879 MB / 0.6075 GB 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.000207/0.1749, allocations: 147.1 kB / 0.7884 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.175, allocations: 75.84 kB / 0.7884 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.175, allocations: 4 kB / 0.7884 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.175, allocations: 35.98 kB / 0.7885 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.1753, allocations: 4 kB / 0.7885 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.1756, allocations: 194.1 kB / 0.7887 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.1757, allocations: 0.6846 MB / 0.7893 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.277e-05/0.1758, allocations: 20.25 kB / 0.7893 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1758, allocations: 15.38 kB / 0.7894 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1758, allocations: 0 / 0.7894 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.003166/0.179, allocations: 1.404 MB / 0.7907 GB, free: 5.246 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)