Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 178.9 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 85.88 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003414, allocations: 9.219 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007311/0.2056, allocations: 346.2 kB / 0.9018 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004615/0.2061, allocations: 160.8 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.2062, allocations: 0 / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.2062, allocations: 3.938 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.2062, allocations: 4 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.2065, allocations: 31.97 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.058e-05/0.2066, allocations: 11.98 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.2066, allocations: 4 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.2067, allocations: 7.938 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.2067, allocations: 7.984 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2068, allocations: 4 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.2068, allocations: 35.95 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2069, allocations: 0 / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.2069, allocations: 33.62 kB / 0.9021 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.514e-05/0.207, allocations: 23.97 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.207, allocations: 0 / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.207, allocations: 0 / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.207, allocations: 3.938 kB / 0.9021 GB, free: 62.67 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.0003206/0.2073, allocations: 331.5 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2074, allocations: 8.031 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2074, allocations: 4.938 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.2075, allocations: 164.4 kB / 0.9026 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2076, allocations: 384 / 0.9026 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.2076, allocations: 8.375 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.2077, allocations: 42.25 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2077, allocations: 192 / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2077, allocations: 3.938 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2077, allocations: 3.938 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.2078, allocations: 15.98 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.208, allocations: 161.6 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.545e-05/0.2081, allocations: 46.62 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.2081, allocations: 16.98 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-05/0.2082, allocations: 89.09 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.2082, allocations: 30.56 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.2082, allocations: 3.938 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001217/0.2095, allocations: 492.4 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.2095, allocations: 55.41 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.531e-05/0.2095, allocations: 93.86 kB / 0.9036 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.2096, allocations: 25.7 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.2096, allocations: 84.08 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.2096, allocations: 27.69 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.2096, allocations: 0 / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.2097, allocations: 314.8 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.2097, allocations: 15.98 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/0.2097, allocations: 8 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.2098, allocations: 44.97 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2098, allocations: 4 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.515e-05/0.2099, allocations: 69.62 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2099, allocations: 7.938 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2099, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.21, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.2101, allocations: 12 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2101, allocations: 3.984 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.2101, allocations: 4 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2101, allocations: 0 / 0.9042 GB, free: 60.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.2102, allocations: 121.8 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.2102, allocations: 3.938 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.2104, allocations: 97.77 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2104, allocations: 0 / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2104, allocations: 0 / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2104, allocations: 3.984 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.623e-05/0.2105, allocations: 165.6 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2105, allocations: 0 / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.2106, allocations: 16 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2106, allocations: 3.938 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.2106, allocations: 4 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2106, allocations: 4 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2106, allocations: 0 / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.2108, allocations: 109 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.2108, allocations: 85.22 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2108, allocations: 12.03 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.2109, allocations: 4.062 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.2109, allocations: 7.984 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2109, allocations: 0 / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.952e-05/0.2109, allocations: 83.27 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2109, allocations: 0 / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002143/0.2112, allocations: 32 kB / 0.9049 GB, free: 59.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001965/0.2114, allocations: 124.2 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.2115, allocations: 44.02 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2115, allocations: 3.938 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.2115, allocations: 20 kB / 0.9051 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.2117, allocations: 13.61 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.212, allocations: 182 kB / 0.9053 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2121, allocations: 0.6875 MB / 0.906 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.2121, allocations: 15.44 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2121, allocations: 0 / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.002283/0.2144, allocations: 0.9062 MB / 0.9069 GB, free: 57.33 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)