Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.526/2.526, 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.001525/0.001525, allocations: 183 kB / 325.6 MB, free: 2.824 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.437/2.437, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.00114/0.00114, allocations: 93.73 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006663/0.0006669, allocations: 15 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2433, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0009054/0.2442, allocations: 359.4 kB / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.245, allocations: 321.2 kB / 0.8995 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.245, allocations: 0 / 0.8995 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.2451, allocations: 7.938 kB / 0.8996 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.2451, allocations: 0 / 0.8996 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.2456, allocations: 75.78 kB / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.192e-05/0.2456, allocations: 11.97 kB / 0.8996 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.2457, allocations: 4 kB / 0.8996 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.764e-05/0.2457, allocations: 11.94 kB / 0.8996 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.2458, allocations: 11.98 kB / 0.8997 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2458, allocations: 0 / 0.8997 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.2463, allocations: 263.6 kB / 0.8999 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.2463, allocations: 11.92 kB / 0.8999 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.2464, allocations: 25.7 kB / 0.8999 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.2465, allocations: 71.88 kB / 0.9 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2465, allocations: 0 / 0.9 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2465, allocations: 0 / 0.9 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2465, allocations: 0 / 0.9 GB, free: 64.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003955/0.247, allocations: 347.3 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.247, allocations: 8.031 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.2471, allocations: 8 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.2472, allocations: 171.2 kB / 0.9005 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2472, allocations: 0 / 0.9005 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.2473, allocations: 8 kB / 0.9005 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.2474, allocations: 49.62 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2474, allocations: 0 / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2474, allocations: 0 / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2475, allocations: 3.938 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.2475, allocations: 19.98 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.2477, allocations: 177.5 kB / 0.9008 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.2479, allocations: 62.48 kB / 0.9008 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008601/0.2488, allocations: 465.4 kB / 0.9013 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2488, allocations: 34.56 kB / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2488, allocations: 0 / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.00155/0.2504, allocations: 0.5841 MB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2504, allocations: 51.41 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.2505, allocations: 105.8 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2505, allocations: 33.64 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.2506, allocations: 80.23 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.2506, allocations: 51.23 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.2506, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.2507, allocations: 318.8 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.2508, allocations: 23.98 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.2508, allocations: 23.98 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.016e-05/0.2509, allocations: 28 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2509, allocations: 0 / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002093/0.2511, allocations: 96.25 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2512, allocations: 5.25 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2512, allocations: 0 / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2512, allocations: 4 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2514, allocations: 19.98 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2514, allocations: 0 / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.2515, allocations: 0 / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2515, allocations: 11.98 kB / 0.9027 GB, free: 61.18 MB / 0.6042 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.032e-05/0.2516, allocations: 125.7 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.2516, allocations: 7.906 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.2519, allocations: 101.6 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2519, allocations: 0 / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2519, allocations: 0 / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.252, allocations: 4 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.2524, allocations: 358.5 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2524, allocations: 0 / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2526, allocations: 23.98 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2526, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2527, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2527, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2527, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.253, allocations: 227.6 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.2531, allocations: 93.19 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2531, allocations: 0 / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2532, allocations: 0 / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.2533, allocations: 15.92 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2533, allocations: 4 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.2533, allocations: 79.28 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2533, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003647/0.2537, allocations: 44 kB / 0.9037 GB, free: 60.01 MB / 0.6042 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.000285/0.254, allocations: 151.2 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2542, allocations: 59.97 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2542, allocations: 0 / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.2543, allocations: 43.86 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.2545, allocations: 2.062 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.2549, allocations: 187 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2551, allocations: 0.6926 MB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.44e-05/0.2552, allocations: 4 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.2552, allocations: 11.44 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.2552, allocations: 7.938 kB / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.004823/0.26, allocations: 1.346 MB / 0.9062 GB, free: 57.46 MB / 0.6042 GB