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.00827/0.008276, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001577/0.001578, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4734/0.4734, allocations: 95.48 MB / 365.4 MB, free: 12.16 MB / 318.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.001603/0.001603, allocations: 71.91 kB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4709, allocations: 69.09 MB / 0.5711 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00192/0.4729, allocations: 0.5409 MB / 0.5716 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000508/0.4734, allocations: 153.4 kB / 0.5718 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.4734, allocations: 0 / 0.5718 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.4735, allocations: 0 / 0.5718 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.847e-06/0.4735, allocations: 7.938 kB / 0.5718 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.4739, allocations: 43.83 kB / 0.5718 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.474, allocations: 4 kB / 0.5718 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.474, allocations: 0 / 0.5718 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.4741, allocations: 7.984 kB / 0.5718 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.4742, allocations: 8 kB / 0.5719 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.4742, allocations: 0 / 0.5719 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.4743, allocations: 31.97 kB / 0.5719 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.4743, allocations: 3.984 kB / 0.5719 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.4743, allocations: 11.92 kB / 0.5719 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.4745, allocations: 27.95 kB / 0.5719 GB, free: 3.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4745, allocations: 4 kB / 0.5719 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4745, allocations: 0 / 0.5719 GB, free: 3.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.4745, allocations: 0 / 0.5719 GB, free: 3.289 MB / 430.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.0005134/0.475, allocations: 323.6 kB / 0.5722 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.4751, allocations: 11.98 kB / 0.5722 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.4751, allocations: 0.9375 kB / 0.5723 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4753, allocations: 164.3 kB / 0.5724 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4753, allocations: 11.94 kB / 0.5724 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.4753, allocations: 7.984 kB / 0.5724 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4755, allocations: 51.34 kB / 0.5725 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4755, allocations: 0 / 0.5725 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4755, allocations: 4 kB / 0.5725 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4755, allocations: 0 / 0.5725 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.4755, allocations: 7.984 kB / 0.5725 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.4758, allocations: 162.5 kB / 0.5726 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.441e-05/0.4758, allocations: 45.17 kB / 0.5727 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.4759, allocations: 17.78 kB / 0.5727 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.476, allocations: 85.05 kB / 0.5728 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.476, allocations: 34.55 kB / 0.5728 GB, free: 2.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.865e-06/0.4761, allocations: 4 kB / 0.5728 GB, free: 2.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.001125/0.4772, allocations: 423.8 kB / 0.5732 GB, free: 1.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.4773, allocations: 85.09 kB / 0.5733 GB, free: 1.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.716e-05/0.4773, allocations: 89.86 kB / 0.5734 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.4773, allocations: 25.7 kB / 0.5734 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.4774, allocations: 80.14 kB / 0.5735 GB, free: 1.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4774, allocations: 8.031 kB / 0.5735 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.4774, allocations: 21.72 kB / 0.5735 GB, free: 1.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4776, allocations: 318.8 kB / 0.5738 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.4776, allocations: 8 kB / 0.5738 GB, free: 1.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.4776, allocations: 22.58 kB / 0.5739 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.06e-05/0.4777, allocations: 42.5 kB / 0.5739 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4777, allocations: 0 / 0.5739 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.942e-05/0.4778, allocations: 61.53 kB / 0.574 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4778, allocations: 8 kB / 0.574 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4778, allocations: 3.938 kB / 0.574 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4779, allocations: 0 / 0.574 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.4779, allocations: 8 kB / 0.574 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4779, allocations: 0 / 0.574 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.478, allocations: 12.09 kB / 0.574 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.478, allocations: 0 / 0.574 GB, free: 0.8359 MB / 430.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 7.07e-05/0.4781, allocations: 118.4 kB / 0.5741 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.4781, allocations: 0 / 0.5741 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.4782, allocations: 65.11 kB / 0.5742 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4783, allocations: 4.031 kB / 0.5742 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4783, allocations: 0 / 0.5742 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4783, allocations: 4 kB / 0.5742 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.4784, allocations: 159.9 kB / 0.5743 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4784, allocations: 0 / 0.5743 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.4785, allocations: 4 kB / 0.5743 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4785, allocations: 4 kB / 0.5743 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4785, allocations: 0 / 0.5743 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4785, allocations: 3.938 kB / 0.5743 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4785, allocations: 3.938 kB / 0.5743 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.4787, allocations: 101.9 kB / 0.5744 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.4788, allocations: 77.23 kB / 0.5745 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.4788, allocations: 8.031 kB / 0.5745 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.4789, allocations: 4 kB / 0.5745 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.4789, allocations: 7.984 kB / 0.5745 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.4789, allocations: 0 / 0.5745 GB, free: 180 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.854e-05/0.4789, allocations: 75.28 kB / 0.5746 GB, free: 104 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4789, allocations: 4.062 kB / 0.5746 GB, free: 100 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.4792, allocations: 28 kB / 0.5746 GB, free: 72 kB / 430.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.0002376/0.4794, allocations: 136.2 kB / 0.5748 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.4795, allocations: 15.98 kB / 0.5748 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4795, allocations: 0 / 0.5748 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.4796, allocations: 15.94 kB / 0.5748 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.4797, allocations: 7.938 kB / 0.5748 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.48, allocations: 122.9 kB / 0.5749 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.4803, allocations: 0.6768 MB / 0.5756 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.4804, allocations: 4 kB / 0.5756 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.4804, allocations: 11.42 kB / 0.5756 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4804, allocations: 4 kB / 0.5756 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Templates: time 0.003398/0.4838, allocations: 0.7606 MB / 0.5763 GB, free: 14.27 MB / 446.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)