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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 251.7 MB / 0.5089 GB, free: 3.297 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 75.88 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4032, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001498/0.4048, allocations: 0.6676 MB / 0.7247 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.4051, allocations: 162.3 kB / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.4051, allocations: 0 / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.4052, allocations: 0 / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.007e-05/0.4052, allocations: 0 / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.4054, allocations: 39.91 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.321e-05/0.4055, allocations: 11.98 kB / 0.7249 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.4055, allocations: 4 kB / 0.7249 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.4056, allocations: 4 kB / 0.7249 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.4056, allocations: 15.91 kB / 0.7249 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4056, allocations: 0 / 0.7249 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.4057, allocations: 31.97 kB / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.4057, allocations: 8 kB / 0.7249 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.4057, allocations: 7.922 kB / 0.7249 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.455e-05/0.4058, allocations: 31.89 kB / 0.725 GB, free: 12.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4058, allocations: 0 / 0.725 GB, free: 12.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4058, allocations: 3.938 kB / 0.725 GB, free: 12.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.4059, allocations: 0 / 0.725 GB, free: 12.11 MB / 0.545 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.0002955/0.4062, allocations: 335.5 kB / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.4062, allocations: 16.03 kB / 0.7253 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.4062, allocations: 0.9375 kB / 0.7253 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.4063, allocations: 166.3 kB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.4063, allocations: 8.312 kB / 0.7255 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.4063, allocations: 384 / 0.7255 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.4064, allocations: 46.25 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.4064, allocations: 192 / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4065, allocations: 3.938 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4065, allocations: 7.984 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.4065, allocations: 19.98 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.4066, allocations: 157.7 kB / 0.7257 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.4067, allocations: 42.5 kB / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.4068, allocations: 20.98 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.4068, allocations: 85.09 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4069, allocations: 30.56 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4069, allocations: 4 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001056/0.4079, allocations: 491.9 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.408, allocations: 55.41 kB / 0.7264 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.25e-05/0.408, allocations: 89.86 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.408, allocations: 25.7 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.4081, allocations: 80.14 kB / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.4081, allocations: 27.64 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.4081, allocations: 21.84 kB / 0.7266 GB, free: 10.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.4082, allocations: 322.8 kB / 0.7269 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.4082, allocations: 8.438 kB / 0.7269 GB, free: 9.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.4083, allocations: 11.98 kB / 0.7269 GB, free: 9.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.4083, allocations: 40.84 kB / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4083, allocations: 0 / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.003e-05/0.4084, allocations: 77.84 kB / 0.7271 GB, free: 9.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.4084, allocations: 7.938 kB / 0.7271 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4084, allocations: 4 kB / 0.7271 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.4085, allocations: 4 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.4085, allocations: 15.92 kB / 0.7271 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.4085, allocations: 4 kB / 0.7271 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.4086, allocations: 0 / 0.7271 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4086, allocations: 0 / 0.7271 GB, free: 9.613 MB / 0.545 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.934e-05/0.4086, allocations: 117.8 kB / 0.7272 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.4087, allocations: 7.844 kB / 0.7272 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.4088, allocations: 93.56 kB / 0.7273 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4088, allocations: 0 / 0.7273 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4088, allocations: 0 / 0.7273 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4088, allocations: 0 / 0.7273 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.461e-05/0.4089, allocations: 161.7 kB / 0.7275 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4089, allocations: 0 / 0.7275 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.409, allocations: 19.92 kB / 0.7275 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.409, allocations: 3.938 kB / 0.7275 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.409, allocations: 8 kB / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.409, allocations: 0 / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.409, allocations: 0 / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.4092, allocations: 113 kB / 0.7276 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.4092, allocations: 88.98 kB / 0.7277 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.4092, allocations: 4 kB / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.4093, allocations: 0 / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.4093, allocations: 7.984 kB / 0.7277 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4093, allocations: 4 kB / 0.7277 GB, free: 8.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.4093, allocations: 75.34 kB / 0.7278 GB, free: 8.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4094, allocations: 4.094 kB / 0.7278 GB, free: 8.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001938/0.4096, allocations: 32 kB / 0.7278 GB, free: 8.781 MB / 0.545 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.0001716/0.4097, allocations: 127.2 kB / 0.7279 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.4098, allocations: 43.92 kB / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4098, allocations: 0 / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.4099, allocations: 23.98 kB / 0.728 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.41, allocations: 13.41 kB / 0.728 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.4103, allocations: 153.3 kB / 0.7281 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.4105, allocations: 0.6807 MB / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.4105, allocations: 15.62 kB / 0.7288 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.4105, allocations: 11.44 kB / 0.7288 GB, free: 7.664 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.4105, allocations: 0 / 0.7288 GB, free: 7.664 MB / 0.545 GB Notification: Performance of Templates: time 0.0023/0.4128, allocations: 0.8833 MB / 0.7297 GB, free: 6.816 MB / 0.545 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)