Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.581/2.581, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001555, allocations: 190 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.485/2.485, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 102.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005093, allocations: 18.12 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2827, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007647/0.2835, allocations: 345.1 kB / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006666/0.2842, allocations: 309.2 kB / 0.8995 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.2842, allocations: 4 kB / 0.8995 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.2842, allocations: 0 / 0.8995 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.275e-05/0.2843, allocations: 3.938 kB / 0.8995 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.2847, allocations: 63.8 kB / 0.8996 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.2848, allocations: 7.984 kB / 0.8996 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2848, allocations: 4 kB / 0.8996 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.2849, allocations: 4 kB / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.2849, allocations: 7.984 kB / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2849, allocations: 3.938 kB / 0.8996 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.2854, allocations: 259.6 kB / 0.8999 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.2854, allocations: 7.922 kB / 0.8999 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.2855, allocations: 29.7 kB / 0.8999 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2856, allocations: 55.91 kB / 0.9 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2856, allocations: 4 kB / 0.9 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2856, allocations: 0 / 0.9 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.2856, allocations: 0 / 0.9 GB, free: 64.37 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002927/0.2859, allocations: 339.3 kB / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.286, allocations: 8.031 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.2861, allocations: 4 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/0.2862, allocations: 167 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2862, allocations: 0 / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2862, allocations: 4 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.2863, allocations: 33.7 kB / 0.9005 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2863, allocations: 0 / 0.9005 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2864, allocations: 4 kB / 0.9005 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2864, allocations: 0 / 0.9005 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.2864, allocations: 7.922 kB / 0.9005 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.2866, allocations: 153.6 kB / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.2866, allocations: 22.59 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008797/0.2875, allocations: 465.5 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2876, allocations: 30.56 kB / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.2876, allocations: 0 / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005479/0.2881, allocations: 250.5 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2882, allocations: 55.41 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.2883, allocations: 97.84 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2883, allocations: 25.7 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.2883, allocations: 88.08 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.2884, allocations: 12.12 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.2884, allocations: 0 / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.2885, allocations: 323 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.2885, allocations: 4 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.2885, allocations: 21.7 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.2886, allocations: 4 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2886, allocations: 4 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.2887, allocations: 53.62 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2888, allocations: 10.34 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2888, allocations: 4.062 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2888, allocations: 144 / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.2889, allocations: 8 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2889, allocations: 0 / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.2889, allocations: 7.922 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.289, allocations: 4 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.198e-05/0.289, allocations: 115.1 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.2891, allocations: 7.891 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.2892, allocations: 65.12 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2893, allocations: 4 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2893, allocations: 0 / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2893, allocations: 0 / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.2894, allocations: 161.6 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2894, allocations: 0 / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.2895, allocations: 4 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2895, allocations: 0 / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2895, allocations: 0 / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2895, allocations: 3.984 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2896, allocations: 8 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.2897, allocations: 73.12 kB / 0.9025 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.2898, allocations: 81.06 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2898, allocations: 3.938 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.2899, allocations: 0 / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.2899, allocations: 8.016 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.2899, allocations: 0 / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.29, allocations: 83.34 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.29, allocations: 3.938 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002878/0.2903, allocations: 16 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002232/0.2905, allocations: 127.2 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2906, allocations: 15.98 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2906, allocations: 0 / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.2907, allocations: 11.94 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.2908, allocations: 8.219 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.291, allocations: 104.7 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.2912, allocations: 0.6809 MB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.2912, allocations: 11.89 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.2913, allocations: 7.438 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.2913, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.003699/0.295, allocations: 0.8328 MB / 0.9044 GB, free: 59.27 MB / 0.6042 GB