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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001133/0.001133, allocations: 191.5 kB / 16.13 MB, free: 6.656 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.356/1.356, allocations: 205.1 MB / 222 MB, free: 4.758 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.647/1.647, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001299/0.001299, allocations: 72 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00244/0.282, allocations: 0.6765 MB / 0.7833 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.2828, allocations: 374.8 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.2829, allocations: 0 / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2829, allocations: 7.938 kB / 0.7837 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.283, allocations: 0 / 0.7837 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.2834, allocations: 83.81 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.527e-05/0.2834, allocations: 23.92 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.2835, allocations: 0 / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.2835, allocations: 12 kB / 0.7838 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.2836, allocations: 11.92 kB / 0.7838 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.2836, allocations: 4 kB / 0.7838 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.284, allocations: 279.6 kB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.284, allocations: 15.91 kB / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.284, allocations: 11.94 kB / 0.7841 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2842, allocations: 103.7 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2843, allocations: 0 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2843, allocations: 0 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2843, allocations: 0 / 0.7842 GB, free: 12.41 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.0004848/0.2848, allocations: 367.7 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2848, allocations: 8.031 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.2849, allocations: 8.938 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.285, allocations: 164.4 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.285, allocations: 384 / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.2851, allocations: 8.281 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2852, allocations: 50.25 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2852, allocations: 4.188 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2852, allocations: 3.938 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2852, allocations: 0 / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.2853, allocations: 23.92 kB / 0.7848 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.2855, allocations: 165.7 kB / 0.785 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.2856, allocations: 58.55 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.2857, allocations: 28.86 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007226/0.2864, allocations: 461.4 kB / 0.7855 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2865, allocations: 34.8 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2865, allocations: 0 / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00131/0.2878, allocations: 0.6003 MB / 0.7861 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.2878, allocations: 51.41 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.2879, allocations: 97.84 kB / 0.7863 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2879, allocations: 29.7 kB / 0.7863 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.288, allocations: 80.14 kB / 0.7864 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.288, allocations: 47.34 kB / 0.7864 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.2881, allocations: 25.72 kB / 0.7865 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2882, allocations: 322.8 kB / 0.7868 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.2882, allocations: 16 kB / 0.7868 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.2883, allocations: 23.98 kB / 0.7868 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.2884, allocations: 56.78 kB / 0.7869 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2884, allocations: 4 kB / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001641/0.2886, allocations: 102.6 kB / 0.787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2886, allocations: 4 kB / 0.787 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2886, allocations: 0 / 0.787 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2886, allocations: 4 kB / 0.787 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2887, allocations: 19.98 kB / 0.787 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2888, allocations: 7.984 kB / 0.787 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.2888, allocations: 4 kB / 0.787 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2888, allocations: 4 kB / 0.787 GB, free: 9.164 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 8.741e-05/0.2889, allocations: 117.8 kB / 0.7871 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.2889, allocations: 11.84 kB / 0.7871 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.2891, allocations: 101.7 kB / 0.7872 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2891, allocations: 3.938 kB / 0.7872 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2892, allocations: 4 kB / 0.7872 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2892, allocations: 4 kB / 0.7872 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.2896, allocations: 350.6 kB / 0.7876 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2896, allocations: 4 kB / 0.7876 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2897, allocations: 23.98 kB / 0.7876 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2897, allocations: 0 / 0.7876 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2897, allocations: 4 kB / 0.7876 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2897, allocations: 0 / 0.7876 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2898, allocations: 4 kB / 0.7876 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.29, allocations: 227.3 kB / 0.7878 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.2901, allocations: 85.12 kB / 0.7879 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2901, allocations: 0 / 0.7879 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.2902, allocations: 11.98 kB / 0.7879 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.2902, allocations: 4 kB / 0.7879 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2903, allocations: 0 / 0.7879 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.2903, allocations: 83.45 kB / 0.788 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2903, allocations: 0 / 0.788 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000279/0.2906, allocations: 40.06 kB / 0.788 GB, free: 7.996 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.0002742/0.2909, allocations: 143.4 kB / 0.7882 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.2911, allocations: 74.66 kB / 0.7882 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2911, allocations: 0 / 0.7882 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.2911, allocations: 35.98 kB / 0.7883 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.2914, allocations: 4 kB / 0.7883 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.2919, allocations: 199.9 kB / 0.7885 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2922, allocations: 0.6899 MB / 0.7891 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.103e-05/0.2922, allocations: 8 kB / 0.7892 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2923, allocations: 15.38 kB / 0.7892 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2923, allocations: 3.938 kB / 0.7892 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.003877/0.2962, allocations: 1.384 MB / 0.7905 GB, free: 5.395 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)