Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001136/0.001136, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001381/0.001381, allocations: 194.4 kB / 16.26 MB, free: 6.633 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.503/1.503, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5683/0.5683, allocations: 95.47 MB / 364.9 MB, free: 10.02 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.91 kB / 444.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3847, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001854/0.3867, allocations: 0.6094 MB / 0.5025 GB, free: 16.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.3871, allocations: 150.6 kB / 0.5026 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.3871, allocations: 4 kB / 0.5026 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.3871, allocations: 3.938 kB / 0.5026 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-06/0.3872, allocations: 0 / 0.5026 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.3875, allocations: 35.95 kB / 0.5027 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.3876, allocations: 11.94 kB / 0.5027 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.3876, allocations: 0 / 0.5027 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.3876, allocations: 8 kB / 0.5027 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.3877, allocations: 7.984 kB / 0.5027 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3877, allocations: 4 kB / 0.5027 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.648e-05/0.3878, allocations: 31.95 kB / 0.5027 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.3878, allocations: 4 kB / 0.5027 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.3879, allocations: 3.938 kB / 0.5027 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.388, allocations: 35.94 kB / 0.5028 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.388, allocations: 0 / 0.5028 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.388, allocations: 0 / 0.5028 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.388, allocations: 0 / 0.5028 GB, free: 16.64 MB / 382.1 MB 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.0003163/0.3883, allocations: 327.5 kB / 0.5031 GB, free: 16.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3884, allocations: 15.98 kB / 0.5031 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3884, allocations: 4.938 kB / 0.5031 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.575e-05/0.3885, allocations: 164.3 kB / 0.5033 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3885, allocations: 384 / 0.5033 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3885, allocations: 11.88 kB / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3887, allocations: 47.41 kB / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3887, allocations: 0 / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3887, allocations: 4 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3887, allocations: 4 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.3887, allocations: 7.938 kB / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.3889, allocations: 154.5 kB / 0.5035 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.3889, allocations: 49.2 kB / 0.5035 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.389, allocations: 17.72 kB / 0.5035 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/0.3891, allocations: 81.11 kB / 0.5036 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3891, allocations: 34.56 kB / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.3891, allocations: 0 / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000979/0.3901, allocations: 430.3 kB / 0.5041 GB, free: 15.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.3901, allocations: 77.11 kB / 0.5041 GB, free: 14.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.077e-05/0.3901, allocations: 93.98 kB / 0.5042 GB, free: 14.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.3902, allocations: 25.7 kB / 0.5042 GB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.651e-05/0.3902, allocations: 80.14 kB / 0.5043 GB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3902, allocations: 23.73 kB / 0.5043 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.3903, allocations: 13.72 kB / 0.5044 GB, free: 14.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.3903, allocations: 314.8 kB / 0.5047 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.3903, allocations: 7.984 kB / 0.5047 GB, free: 14.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.3904, allocations: 26.58 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.3904, allocations: 34.52 kB / 0.5047 GB, free: 14.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3904, allocations: 0 / 0.5047 GB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.77e-05/0.3905, allocations: 65.56 kB / 0.5048 GB, free: 14.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3905, allocations: 7.984 kB / 0.5048 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3905, allocations: 4.141 kB / 0.5048 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3906, allocations: 7.984 kB / 0.5048 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.3906, allocations: 8 kB / 0.5048 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3906, allocations: 0 / 0.5048 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.3907, allocations: 3.906 kB / 0.5048 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3907, allocations: 4 kB / 0.5048 GB, free: 14.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 4.718e-05/0.3907, allocations: 109.8 kB / 0.5049 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3908, allocations: 8 kB / 0.5049 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.3909, allocations: 65.11 kB / 0.505 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3909, allocations: 0 / 0.505 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3909, allocations: 0 / 0.505 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3909, allocations: 3.984 kB / 0.505 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.562e-05/0.391, allocations: 161.5 kB / 0.5052 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.391, allocations: 0 / 0.5052 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.3911, allocations: 11.98 kB / 0.5052 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3911, allocations: 32 / 0.5052 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3911, allocations: 4 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3911, allocations: 4.125 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3911, allocations: 4 kB / 0.5052 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.3912, allocations: 89.91 kB / 0.5053 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.3912, allocations: 85.05 kB / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3913, allocations: 3.938 kB / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.3913, allocations: 8.094 kB / 0.5054 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.3913, allocations: 7.922 kB / 0.5054 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.3913, allocations: 4 kB / 0.5054 GB, free: 13.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.607e-05/0.3914, allocations: 75.28 kB / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3914, allocations: 0 / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.3916, allocations: 24 kB / 0.5055 GB, free: 13.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001754/0.3918, allocations: 127.2 kB / 0.5056 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.3919, allocations: 31.92 kB / 0.5056 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3919, allocations: 0 / 0.5056 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/0.3919, allocations: 8 kB / 0.5056 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.392, allocations: 4.688 kB / 0.5056 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.3923, allocations: 130.2 kB / 0.5058 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3924, allocations: 0.6768 MB / 0.5064 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.486e-05/0.3925, allocations: 12.19 kB / 0.5064 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.3925, allocations: 7.438 kB / 0.5064 GB, free: 12.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3925, allocations: 0 / 0.5064 GB, free: 12.37 MB / 382.1 MB Notification: Performance of Templates: time 0.002791/0.3953, allocations: 0.7617 MB / 0.5072 GB, free: 11.62 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)