Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.81/2.81, 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.001542/0.001541, allocations: 182.4 kB / 325.6 MB, free: 2.816 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.39/2.39, allocations: 205.4 MB / 0.5766 GB, free: 20.68 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.001126/0.001126, allocations: 94.06 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004918, allocations: 17.58 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2368, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.000785/0.2377, allocations: 325.1 kB / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006401/0.2383, allocations: 297.2 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.2384, allocations: 0 / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.2384, allocations: 0 / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-06/0.2384, allocations: 4 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.2388, allocations: 62.06 kB / 0.8995 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.363e-05/0.2389, allocations: 4 kB / 0.8995 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.2389, allocations: 3.984 kB / 0.8996 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.2389, allocations: 3.984 kB / 0.8996 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.471e-05/0.239, allocations: 0 / 0.8996 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.239, allocations: 0 / 0.8996 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.2395, allocations: 255.7 kB / 0.8998 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.2395, allocations: 4 kB / 0.8998 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.2395, allocations: 25.7 kB / 0.8998 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2397, allocations: 59.91 kB / 0.8999 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2397, allocations: 0 / 0.8999 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.406e-06/0.2397, allocations: 0 / 0.8999 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2397, allocations: 3.938 kB / 0.8999 GB, free: 64.44 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002589/0.24, allocations: 327.4 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.24, allocations: 8.031 kB / 0.9002 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.2401, allocations: 4 kB / 0.9002 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.527e-05/0.2402, allocations: 167 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2402, allocations: 4 kB / 0.9004 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2402, allocations: 0 / 0.9004 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.2403, allocations: 29.69 kB / 0.9004 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2403, allocations: 0 / 0.9004 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2404, allocations: 4 kB / 0.9004 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2404, allocations: 0 / 0.9004 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.2404, allocations: 4 kB / 0.9004 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.2405, allocations: 145.6 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.2406, allocations: 30.48 kB / 0.9006 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/0.2411, allocations: 425.6 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2412, allocations: 34.55 kB / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.2412, allocations: 0 / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.2413, allocations: 45.59 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.2414, allocations: 51.41 kB / 0.9011 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.59e-05/0.2414, allocations: 89.86 kB / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2414, allocations: 29.7 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.2414, allocations: 80.14 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2415, allocations: 3.938 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.2415, allocations: 0 / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.2416, allocations: 314.8 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.2416, allocations: 128 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.2416, allocations: 8 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.2416, allocations: 3.953 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2417, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.559e-05/0.2417, allocations: 37.69 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2418, allocations: 10.19 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2418, allocations: 3.938 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2418, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.2419, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2419, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.2419, allocations: 12.09 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2419, allocations: 0 / 0.9017 GB, free: 62.3 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 (1): * Single equations (assignments): 1 * 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 5.81e-05/0.242, allocations: 109.8 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.242, allocations: 7.922 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.637e-05/0.2421, allocations: 36.83 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2421, allocations: 0 / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2422, allocations: 0 / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2422, allocations: 32 / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.419e-05/0.2423, allocations: 153.7 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2423, allocations: 3.953 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.2423, allocations: 4 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2423, allocations: 0 / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2423, allocations: 0 / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2423, allocations: 0 / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2423, allocations: 0 / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.588e-05/0.2424, allocations: 69.06 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.2425, allocations: 81.06 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.2425, allocations: 0 / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.2425, allocations: 0 / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.2425, allocations: 0 / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2425, allocations: 7.938 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.554e-05/0.2426, allocations: 75.28 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2426, allocations: 0 / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002596/0.2428, allocations: 12 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001962/0.243, allocations: 115.2 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.2431, allocations: 4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2431, allocations: 0 / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.2432, allocations: 7.938 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.2433, allocations: 1.375 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.2435, allocations: 78.69 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2436, allocations: 0.6731 MB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.2436, allocations: 8.109 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.2437, allocations: 7.438 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.2437, allocations: 4 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.002824/0.2465, allocations: 430.2 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB