Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.583/2.583, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001524, allocations: 176 kB / 325.6 MB, free: 2.809 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.474/2.474, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001209/0.001209, allocations: 99.97 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007941/0.0007943, allocations: 12.41 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2371, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001919/0.2391, allocations: 1.163 MB / 0.9 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.2395, allocations: 177.5 kB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.2396, allocations: 4 kB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.2396, allocations: 0 / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.2397, allocations: 3.984 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2399, allocations: 31.91 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.24, allocations: 15.92 kB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.2401, allocations: 4 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.2401, allocations: 3.984 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.2402, allocations: 11.94 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2402, allocations: 4 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2403, allocations: 23.97 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.2404, allocations: 11.97 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.2404, allocations: 25.7 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.638e-05/0.2405, allocations: 31.95 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2405, allocations: 0 / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2405, allocations: 0 / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2405, allocations: 4 kB / 0.9003 GB, free: 64.42 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.0004454/0.241, allocations: 335.3 kB / 0.9007 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.241, allocations: 8.031 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2411, allocations: 4 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/0.2412, allocations: 170.9 kB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2412, allocations: 4 kB / 0.9008 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2412, allocations: 7.938 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.2415, allocations: 53.67 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2415, allocations: 3.984 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2415, allocations: 0 / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2415, allocations: 0 / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.2418, allocations: 47.95 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.2421, allocations: 248.9 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2423, allocations: 62.42 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.15e-05/0.2425, allocations: 81.05 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2425, allocations: 34.62 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.2425, allocations: 0 / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005263/0.243, allocations: 97.64 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2431, allocations: 51.41 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.2432, allocations: 109.8 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2432, allocations: 25.7 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.2432, allocations: 92.2 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2433, allocations: 3.906 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2433, allocations: 4 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.2433, allocations: 310.8 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2435, allocations: 19.98 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2436, allocations: 27.97 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2438, allocations: 19.98 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2438, allocations: 4 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003077/0.2441, allocations: 77.72 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2441, allocations: 4 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2441, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2442, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2443, allocations: 11.98 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2444, allocations: 4 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.2445, allocations: 4 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2445, allocations: 7.984 kB / 0.9022 GB, free: 62.29 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.756e-05/0.2445, allocations: 117.8 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2446, allocations: 3.906 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.245, allocations: 84.77 kB / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.245, allocations: 0 / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.245, allocations: 0 / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.245, allocations: 0 / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2452, allocations: 169.6 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2452, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.2453, allocations: 12.23 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2453, allocations: 0 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.2453, allocations: 4 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2453, allocations: 32 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2453, allocations: 7.938 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.2457, allocations: 175.4 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.2457, allocations: 85.14 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2457, allocations: 3.984 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2459, allocations: 8 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.2459, allocations: 0 / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.246, allocations: 7.922 kB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.246, allocations: 79.28 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/0.246, allocations: 0 / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003181/0.2463, allocations: 20 kB / 0.9029 GB, free: 61.43 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.0001725/0.2465, allocations: 103.2 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.2468, allocations: 51.89 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2469, allocations: 0 / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.247, allocations: 28.05 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2473, allocations: 5.984 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.2476, allocations: 112.5 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2478, allocations: 0.6809 MB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.2478, allocations: 4.062 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.2478, allocations: 7.438 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2478, allocations: 0 / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.003091/0.2509, allocations: 0.4998 MB / 0.9044 GB, free: 59.89 MB / 0.6042 GB