Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.269/2.269, 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.002154/0.002154, allocations: 178 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.619/2.619, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001229/0.001229, allocations: 106.2 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006461/0.0006462, allocations: 19.91 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2361, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007635/0.2369, allocations: 341.4 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003866/0.2373, allocations: 144.7 kB / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.2374, allocations: 0 / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.2374, allocations: 0 / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.147e-05/0.2374, allocations: 0 / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2377, allocations: 35.83 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.2378, allocations: 4 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.2378, allocations: 3.984 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.2379, allocations: 12 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.2379, allocations: 7.984 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2379, allocations: 3.938 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.178e-05/0.238, allocations: 31.97 kB / 0.8995 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.2381, allocations: 3.984 kB / 0.8995 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.2381, allocations: 25.7 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.889e-05/0.2382, allocations: 19.97 kB / 0.8995 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2382, allocations: 0 / 0.8995 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2382, allocations: 0 / 0.8995 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2382, allocations: 0 / 0.8995 GB, free: 65.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003093/0.2385, allocations: 335.3 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2386, allocations: 8.031 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.2386, allocations: 4 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.2387, allocations: 167 kB / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2387, allocations: 0 / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.2388, allocations: 8 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.2389, allocations: 41.62 kB / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2389, allocations: 4 kB / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2389, allocations: 0 / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2389, allocations: 4 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.239, allocations: 15.98 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.2392, allocations: 161.6 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2393, allocations: 46.62 kB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.2394, allocations: 77.11 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2394, allocations: 42.44 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.2395, allocations: 4 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001502/0.241, allocations: 484.5 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.241, allocations: 52.41 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.524e-05/0.2411, allocations: 93.84 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2411, allocations: 37.64 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.703e-05/0.2411, allocations: 80.14 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.2412, allocations: 15.62 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.2412, allocations: 12.12 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.2412, allocations: 318.8 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.2413, allocations: 12 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.2413, allocations: 11.98 kB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.2414, allocations: 15.94 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2414, allocations: 0 / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001421/0.2416, allocations: 77.89 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2416, allocations: 4 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2416, allocations: 0 / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2416, allocations: 0 / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2418, allocations: 16 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2418, allocations: 3.984 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.2418, allocations: 0 / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2418, allocations: 4 kB / 0.9016 GB, free: 62.89 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 (8): * Single equations (assignments): 8 * 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.318e-05/0.2419, allocations: 117.7 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.2419, allocations: 4 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.2422, allocations: 81.55 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2422, allocations: 11.98 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2422, allocations: 0 / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2422, allocations: 0 / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.2423, allocations: 169.5 kB / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2423, allocations: 0 / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2425, allocations: 12 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2425, allocations: 3.938 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2425, allocations: 4 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2425, allocations: 4.125 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2425, allocations: 0 / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.2428, allocations: 125 kB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.2428, allocations: 81.09 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2428, allocations: 4 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.2429, allocations: 4.031 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.2429, allocations: 0 / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2429, allocations: 4 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.19e-05/0.243, allocations: 79.27 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.243, allocations: 160 / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002928/0.2433, allocations: 36 kB / 0.9023 GB, free: 62.05 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 (8): * Single equations (assignments): 8 * 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.0002797/0.2436, allocations: 131.2 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.2437, allocations: 39.92 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2437, allocations: 4 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.94e-05/0.2438, allocations: 19.94 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.2439, allocations: 9.359 kB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.2443, allocations: 156.7 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2444, allocations: 0.6809 MB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.794e-05/0.2445, allocations: 8.172 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2445, allocations: 11.44 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of SimCode: time 6.22e-07/0.2445, allocations: 3.938 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.003825/0.2484, allocations: 0.8324 MB / 0.9041 GB, free: 60.12 MB / 0.6042 GB