Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.71/2.71, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001535/0.001534, allocations: 174.5 kB / 325.6 MB, free: 2.852 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.461/2.461, allocations: 205.4 MB / 0.5766 GB, free: 21.16 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.001139/0.001139, allocations: 96.23 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 11.56 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2262, allocations: 106.3 MB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001769/0.228, allocations: 1.167 MB / 0.9 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007517/0.2288, allocations: 350 kB / 0.9004 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.2288, allocations: 0 / 0.9004 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.2288, allocations: 3.938 kB / 0.9004 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.2289, allocations: 0 / 0.9004 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.2293, allocations: 67.78 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.994e-05/0.2294, allocations: 23.97 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.2295, allocations: 4 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.2295, allocations: 7.938 kB / 0.9005 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.2296, allocations: 11.98 kB / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2296, allocations: 0 / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.2301, allocations: 259.6 kB / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.2301, allocations: 7.938 kB / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.2301, allocations: 25.7 kB / 0.9007 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2303, allocations: 75.86 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2303, allocations: 0 / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2303, allocations: 4 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2303, allocations: 0 / 0.9008 GB, free: 64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004556/0.2308, allocations: 359.3 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2308, allocations: 12.03 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.2309, allocations: 3.906 kB / 0.9012 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.846e-05/0.231, allocations: 171 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.231, allocations: 0 / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2311, allocations: 7.984 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.2313, allocations: 57.61 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2313, allocations: 0 / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2313, allocations: 0 / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2314, allocations: 4 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.2316, allocations: 47.95 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.232, allocations: 256.9 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.2322, allocations: 46.56 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009019/0.2331, allocations: 457.5 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2331, allocations: 38.55 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.876e-06/0.2331, allocations: 0 / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005793/0.2337, allocations: 93.78 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.2338, allocations: 55.41 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.2339, allocations: 117.7 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2339, allocations: 25.7 kB / 0.9025 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.2339, allocations: 84.14 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.234, allocations: 11.89 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.234, allocations: 0 / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.2341, allocations: 314.8 kB / 0.9029 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2342, allocations: 23.98 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2344, allocations: 23.92 kB / 0.9029 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2345, allocations: 23.97 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2345, allocations: 4.062 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003492/0.2349, allocations: 77.58 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2349, allocations: 8 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2349, allocations: 0 / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.235, allocations: 0 / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2351, allocations: 16.02 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2351, allocations: 0 / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.2352, allocations: 11.98 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2352, allocations: 3.953 kB / 0.9031 GB, free: 61.38 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 (2): * Single equations (assignments): 2 * 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.638e-05/0.2353, allocations: 105.8 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.2354, allocations: 4 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.2357, allocations: 93.11 kB / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2358, allocations: 0 / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2358, allocations: 0 / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2358, allocations: 3.984 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.236, allocations: 161.6 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.236, allocations: 32 / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.652e-05/0.2361, allocations: 19.98 kB / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2361, allocations: 0 / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.2361, allocations: 0 / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2361, allocations: 0 / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2361, allocations: 0 / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.2365, allocations: 183.3 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.2365, allocations: 77.11 kB / 0.9037 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2366, allocations: 4 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.2367, allocations: 11.98 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.2368, allocations: 3.938 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2368, allocations: 11.97 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.2368, allocations: 83.27 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2368, allocations: 0 / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002996/0.2372, allocations: 16 kB / 0.9038 GB, free: 60.52 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 (2): * Single equations (assignments): 2 * 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.0001814/0.2373, allocations: 107.2 kB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.2377, allocations: 51.95 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2377, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2379, allocations: 27.92 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2381, allocations: 3.953 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.2384, allocations: 116.8 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2386, allocations: 0.6809 MB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.2386, allocations: 0 / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2386, allocations: 11.44 kB / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2386, allocations: 0 / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.003219/0.2419, allocations: 0.6299 MB / 0.9054 GB, free: 58.84 MB / 0.6042 GB