Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.3 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 183 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008606/0.0008606, allocations: 93.91 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 13.88 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2538, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007627/0.2546, allocations: 350 kB / 0.9798 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005573/0.2552, allocations: 328.8 kB / 0.9801 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.2552, allocations: 0 / 0.9801 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.2553, allocations: 0 / 0.9801 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.2553, allocations: 0 / 0.9801 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.2557, allocations: 79.72 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.824e-05/0.2558, allocations: 19.91 kB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.2558, allocations: 4 kB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.2559, allocations: 12 kB / 0.9802 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.2559, allocations: 7.922 kB / 0.9802 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.256, allocations: 4 kB / 0.9802 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.2563, allocations: 255.7 kB / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.2563, allocations: 11.98 kB / 0.9804 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2563, allocations: 25.7 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.2565, allocations: 71.83 kB / 0.9805 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2565, allocations: 0 / 0.9805 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2565, allocations: 0 / 0.9805 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2565, allocations: 3.938 kB / 0.9805 GB, free: 26.54 MB / 0.6198 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.0003986/0.2569, allocations: 351.5 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2569, allocations: 16.02 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.257, allocations: 4 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2571, allocations: 175 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2571, allocations: 4 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.2572, allocations: 4 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.2573, allocations: 49.69 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2573, allocations: 0 / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2573, allocations: 0 / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2573, allocations: 0 / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.2574, allocations: 23.92 kB / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.2576, allocations: 173.5 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.2577, allocations: 62.55 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.2583, allocations: 457.5 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2583, allocations: 34.56 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2583, allocations: 0 / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001171/0.2595, allocations: 0.5918 MB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.2595, allocations: 55.34 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.2596, allocations: 101.8 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2596, allocations: 29.7 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.2597, allocations: 85.14 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.2597, allocations: 35.45 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.2597, allocations: 4 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.2598, allocations: 314.8 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.2598, allocations: 23.98 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.2599, allocations: 22.11 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.2599, allocations: 32 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2599, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001205/0.26, allocations: 93.59 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2601, allocations: 4 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2601, allocations: 0 / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2601, allocations: 0 / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2602, allocations: 27.92 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2602, allocations: 96 / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.2602, allocations: 7.938 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.2603, allocations: 7.984 kB / 0.9832 GB, free: 23.41 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.2603, allocations: 121.8 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.2604, allocations: 3.938 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.2605, allocations: 113.5 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2605, allocations: 0 / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2606, allocations: 0 / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2606, allocations: 0 / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.2609, allocations: 354.5 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2609, allocations: 0 / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.261, allocations: 27.92 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.261, allocations: 4 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.261, allocations: 8 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.261, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.261, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.2612, allocations: 223.3 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2613, allocations: 77.11 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2613, allocations: 12.02 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.2614, allocations: 4.062 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2614, allocations: 4 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-06/0.2614, allocations: 7.984 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.2615, allocations: 83.22 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2615, allocations: 0 / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002749/0.2618, allocations: 44 kB / 0.9843 GB, free: 22.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/0.262, allocations: 131.2 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.2622, allocations: 61.34 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2622, allocations: 4 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.2622, allocations: 35.92 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.2624, allocations: 8.609 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2627, allocations: 202.6 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.2629, allocations: 0.6887 MB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.2629, allocations: 11.94 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.263, allocations: 11.44 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.263, allocations: 4 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.003223/0.2662, allocations: 1.338 MB / 0.9867 GB, free: 19.72 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)