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.0009199/0.0009199, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009328/0.0009329, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.174/1.174, allocations: 205.1 MB / 222 MB, free: 4.992 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.333/1.333, allocations: 251.6 MB / 0.5088 GB, free: 3.379 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.00118/0.00118, allocations: 71.89 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3938, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001674/0.3955, allocations: 0.6753 MB / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.3959, allocations: 166.4 kB / 0.7246 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.234e-05/0.3959, allocations: 0 / 0.7246 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.396, allocations: 0 / 0.7246 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.59e-05/0.396, allocations: 0 / 0.7246 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3962, allocations: 31.91 kB / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.038e-05/0.3963, allocations: 11.98 kB / 0.7247 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.3963, allocations: 4 kB / 0.7247 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.3964, allocations: 11.94 kB / 0.7247 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.3964, allocations: 11.97 kB / 0.7247 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3964, allocations: 4 kB / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.3965, allocations: 31.97 kB / 0.7247 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.3965, allocations: 3.938 kB / 0.7247 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.3966, allocations: 4 kB / 0.7247 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.675e-05/0.3966, allocations: 35.88 kB / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3967, allocations: 0 / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.11e-07/0.3967, allocations: 0 / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.776e-06/0.3967, allocations: 0 / 0.7248 GB, free: 12.18 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.000313/0.397, allocations: 331.5 kB / 0.7251 GB, free: 11.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.397, allocations: 16.03 kB / 0.7251 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.3971, allocations: 0.9375 kB / 0.7251 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.701e-05/0.3972, allocations: 162.4 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.3972, allocations: 4.375 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3972, allocations: 4.375 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.3973, allocations: 50.17 kB / 0.7253 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3973, allocations: 192 / 0.7253 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3973, allocations: 3.938 kB / 0.7253 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3973, allocations: 4 kB / 0.7253 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.3974, allocations: 12 kB / 0.7253 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.3975, allocations: 161.7 kB / 0.7255 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.166e-05/0.3976, allocations: 46.56 kB / 0.7255 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.3977, allocations: 20.97 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.599e-05/0.3977, allocations: 81.11 kB / 0.7256 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3978, allocations: 30.56 kB / 0.7257 GB, free: 11.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3978, allocations: 4 kB / 0.7257 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001116/0.3989, allocations: 499.8 kB / 0.7261 GB, free: 10.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3989, allocations: 55.41 kB / 0.7262 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.399, allocations: 93.86 kB / 0.7263 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.399, allocations: 29.64 kB / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.399, allocations: 80.14 kB / 0.7264 GB, free: 10.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3991, allocations: 23.7 kB / 0.7264 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.3991, allocations: 21.84 kB / 0.7264 GB, free: 10.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.3992, allocations: 314.8 kB / 0.7267 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.3992, allocations: 23.86 kB / 0.7268 GB, free: 9.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.3993, allocations: 8 kB / 0.7268 GB, free: 9.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.3993, allocations: 40.84 kB / 0.7268 GB, free: 9.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3993, allocations: 0 / 0.7268 GB, free: 9.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.76e-05/0.3994, allocations: 65.67 kB / 0.7269 GB, free: 9.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3995, allocations: 11.94 kB / 0.7269 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3995, allocations: 0 / 0.7269 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.3995, allocations: 4 kB / 0.7269 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.3996, allocations: 19.92 kB / 0.7269 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3996, allocations: 320 / 0.7269 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.3996, allocations: 4 kB / 0.7269 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3996, allocations: 448 / 0.7269 GB, free: 9.688 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 6.106e-05/0.3997, allocations: 113.8 kB / 0.727 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.3997, allocations: 7.844 kB / 0.727 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3999, allocations: 89.62 kB / 0.7271 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3999, allocations: 0 / 0.7271 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3999, allocations: 4 kB / 0.7271 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3999, allocations: 0 / 0.7271 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.688e-05/0.4, allocations: 173.6 kB / 0.7273 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4, allocations: 4 kB / 0.7273 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.4001, allocations: 8 kB / 0.7273 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4001, allocations: 7.938 kB / 0.7273 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4001, allocations: 0 / 0.7273 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4001, allocations: 0 / 0.7273 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4001, allocations: 0 / 0.7273 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.4003, allocations: 113.1 kB / 0.7274 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.4003, allocations: 92.97 kB / 0.7275 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.4003, allocations: 3.938 kB / 0.7275 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.4004, allocations: 0 / 0.7275 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.4004, allocations: 4 kB / 0.7275 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4004, allocations: 11.98 kB / 0.7275 GB, free: 8.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.4004, allocations: 79.22 kB / 0.7276 GB, free: 8.883 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4004, allocations: 4.156 kB / 0.7276 GB, free: 8.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002037/0.4006, allocations: 28 kB / 0.7276 GB, free: 8.852 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.0001812/0.4008, allocations: 135.2 kB / 0.7277 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.4009, allocations: 35.98 kB / 0.7278 GB, free: 8.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4009, allocations: 0 / 0.7278 GB, free: 8.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.401, allocations: 27.92 kB / 0.7278 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.4011, allocations: 1.828 kB / 0.7278 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.4014, allocations: 155 kB / 0.728 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.4016, allocations: 0.6809 MB / 0.7286 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.4016, allocations: 11.73 kB / 0.7286 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.4016, allocations: 11.44 kB / 0.7286 GB, free: 7.742 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4016, allocations: 0 / 0.7286 GB, free: 7.742 MB / 0.545 GB Notification: Performance of Templates: time 0.002533/0.4042, allocations: 0.8584 MB / 0.7295 GB, free: 6.918 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)