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.001575/0.001574, allocations: 107.7 kB / 16.27 MB, free: 5.961 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.001396/0.001396, allocations: 191.3 kB / 17.19 MB, free: 5.602 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.537/1.537, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001401/0.001401, allocations: 68.42 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2585, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002309/0.2609, allocations: 0.6175 MB / 0.7846 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007188/0.2616, allocations: 354.7 kB / 0.785 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.2616, allocations: 0 / 0.785 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.2617, allocations: 3.938 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.2618, allocations: 0 / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.2623, allocations: 120.8 kB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.2623, allocations: 19.98 kB / 0.7851 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.2624, allocations: 4 kB / 0.7851 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.2624, allocations: 11.98 kB / 0.7851 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.2625, allocations: 15.92 kB / 0.7851 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.2625, allocations: 0 / 0.7851 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.2629, allocations: 283.6 kB / 0.7854 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2629, allocations: 3.938 kB / 0.7854 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.2629, allocations: 15.92 kB / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2631, allocations: 99.77 kB / 0.7855 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2631, allocations: 0 / 0.7855 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2631, allocations: 4 kB / 0.7855 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.2632, allocations: 0 / 0.7855 GB, free: 2.336 MB / 0.6544 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.0004479/0.2636, allocations: 363.7 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2636, allocations: 12.03 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.2637, allocations: 0.9375 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2638, allocations: 164.4 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2639, allocations: 4.312 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.2639, allocations: 8.375 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.264, allocations: 50.23 kB / 0.7861 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.264, allocations: 4.188 kB / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2641, allocations: 7.922 kB / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2641, allocations: 0 / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.119e-05/0.2641, allocations: 16 kB / 0.7861 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.2643, allocations: 169.6 kB / 0.7863 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.2644, allocations: 58.5 kB / 0.7864 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.2645, allocations: 36.78 kB / 0.7864 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.2652, allocations: 453.5 kB / 0.7868 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.2652, allocations: 46.55 kB / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2653, allocations: 4 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001307/0.2666, allocations: 0.5839 MB / 0.7874 GB, free: 36 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.399/0.6656, allocations: 51.41 kB / 0.7875 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.6658, allocations: 95.72 kB / 0.7876 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6658, allocations: 28.8 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.6658, allocations: 83.45 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.6659, allocations: 33.53 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.666, allocations: 34.86 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.666, allocations: 317.8 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.6661, allocations: 23.89 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.6661, allocations: 24.06 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.765e-05/0.6662, allocations: 54.62 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6662, allocations: 2.625 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002015/0.6664, allocations: 106.6 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6665, allocations: 3.375 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6665, allocations: 3.875 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6665, allocations: 0 / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.6666, allocations: 23.16 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6667, allocations: 1 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.6667, allocations: 5.375 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6667, allocations: 2.156 kB / 0.7883 GB, free: 48.3 MB / 0.6544 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 5.901e-05/0.6668, allocations: 115.9 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.6668, allocations: 6.531 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.667, allocations: 111.1 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.667, allocations: 3.938 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.667, allocations: 0.625 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.667, allocations: 3.188 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.6674, allocations: 362.2 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6674, allocations: 3.938 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.801e-05/0.6675, allocations: 20.05 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6675, allocations: 3.344 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.6675, allocations: 4.125 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6675, allocations: 0 / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6675, allocations: 0 / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.6677, allocations: 220.8 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.6678, allocations: 92.88 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.6678, allocations: 3.219 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.6679, allocations: 3.969 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.6679, allocations: 11.31 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6679, allocations: 5.406 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.668, allocations: 78.16 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.668, allocations: 0 / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002868/0.6683, allocations: 44.08 kB / 0.7893 GB, free: 47.55 MB / 0.6544 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.0002233/0.6685, allocations: 145.8 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.6686, allocations: 65.75 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6686, allocations: 0.9375 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.6687, allocations: 37.17 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.6689, allocations: 18.7 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.6693, allocations: 194.7 kB / 0.7898 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.6694, allocations: 0.6872 MB / 0.7905 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.6694, allocations: 16.97 kB / 0.7905 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.6694, allocations: 1.719 kB / 0.7905 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.002602/0.672, allocations: 1.214 MB / 0.7917 GB, free: 46.57 MB / 0.6544 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)