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.0009491/0.0009489, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009732/0.0009733, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.708/1.708, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0007988/0.000799, allocations: 21 kB / 0.6736 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2832, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000789/0.284, allocations: 349.8 kB / 0.7875 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.2846, allocations: 316.8 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.2847, allocations: 0 / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.2847, allocations: 4 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.2847, allocations: 0 / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.2851, allocations: 83.73 kB / 0.7878 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.459e-05/0.2852, allocations: 12 kB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.2852, allocations: 7.984 kB / 0.7879 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.2852, allocations: 11.94 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.2853, allocations: 19.91 kB / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2853, allocations: 4 kB / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.2857, allocations: 255.7 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.2857, allocations: 4 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.2857, allocations: 29.7 kB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.2859, allocations: 63.89 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.2859, allocations: 4 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2859, allocations: 0 / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2859, allocations: 3.938 kB / 0.7882 GB, free: 10.79 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.0003504/0.2862, allocations: 355.5 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2863, allocations: 12.03 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.2863, allocations: 0 / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2865, allocations: 182.9 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2865, allocations: 0 / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.2865, allocations: 8 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2866, allocations: 45.69 kB / 0.7888 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2866, allocations: 0 / 0.7888 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2867, allocations: 0 / 0.7888 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2867, allocations: 0 / 0.7888 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.2867, allocations: 19.98 kB / 0.7888 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.2869, allocations: 169.5 kB / 0.789 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.287, allocations: 66.48 kB / 0.7891 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.2876, allocations: 461.5 kB / 0.7895 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2877, allocations: 34.56 kB / 0.7895 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2877, allocations: 0 / 0.7895 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001218/0.2889, allocations: 0.5851 MB / 0.7901 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2889, allocations: 55.41 kB / 0.7902 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.289, allocations: 101.8 kB / 0.7903 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.289, allocations: 29.7 kB / 0.7903 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.2891, allocations: 80.14 kB / 0.7904 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.2891, allocations: 39.45 kB / 0.7904 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.2891, allocations: 0 / 0.7904 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2893, allocations: 322.7 kB / 0.7907 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.2893, allocations: 19.98 kB / 0.7907 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.2893, allocations: 27.98 kB / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.2894, allocations: 27.12 kB / 0.7908 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2894, allocations: 0 / 0.7908 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001409/0.2895, allocations: 97.59 kB / 0.7909 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2896, allocations: 4 kB / 0.7909 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2896, allocations: 0 / 0.7909 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2896, allocations: 4 kB / 0.7909 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.2897, allocations: 27.92 kB / 0.7909 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2897, allocations: 0 / 0.7909 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.2897, allocations: 0 / 0.7909 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2897, allocations: 4 kB / 0.7909 GB, free: 7.672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.2898, allocations: 125.8 kB / 0.791 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.2899, allocations: 8.172 kB / 0.791 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.29, allocations: 113.5 kB / 0.7911 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2901, allocations: 0 / 0.7911 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2901, allocations: 0 / 0.7911 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2901, allocations: 4 kB / 0.7911 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.2904, allocations: 354.6 kB / 0.7915 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2905, allocations: 7.938 kB / 0.7915 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.2906, allocations: 27.92 kB / 0.7915 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2906, allocations: 0 / 0.7915 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.2906, allocations: 0 / 0.7915 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2906, allocations: 0 / 0.7915 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2906, allocations: 0 / 0.7915 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.2908, allocations: 219.4 kB / 0.7917 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.2909, allocations: 93.06 kB / 0.7918 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2909, allocations: 4.062 kB / 0.7918 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.291, allocations: 0 / 0.7918 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.291, allocations: 11.98 kB / 0.7918 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.291, allocations: 4 kB / 0.7918 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.2911, allocations: 79.28 kB / 0.7919 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2911, allocations: 0 / 0.7919 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002611/0.2914, allocations: 40 kB / 0.792 GB, free: 6.492 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 (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.0002704/0.2916, allocations: 154 kB / 0.7921 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.2918, allocations: 55.98 kB / 0.7922 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2918, allocations: 4 kB / 0.7922 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.2918, allocations: 35.92 kB / 0.7922 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.292, allocations: 6.875 kB / 0.7922 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.2923, allocations: 195 kB / 0.7924 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2927, allocations: 0.6926 MB / 0.7931 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.2927, allocations: 4 kB / 0.7931 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2927, allocations: 19.42 kB / 0.7931 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2927, allocations: 0 / 0.7931 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.003823/0.2966, allocations: 1.353 MB / 0.7944 GB, free: 3.926 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: