Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.896/4.896, allocations: 0.5623 GB / 0.5769 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002411/0.002411, allocations: 361.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.443/4.443, allocations: 410.7 MB / 1.112 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00175/0.00175, allocations: 167 kB / 1.225 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005034, allocations: 16 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6795, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008872/0.6805, allocations: 340 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005228/0.681, allocations: 146.2 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.6811, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.6811, allocations: 3.938 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.726e-05/0.6811, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.6815, allocations: 27.91 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.6816, allocations: 13.17 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.6816, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.6817, allocations: 11.94 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.6818, allocations: 12.69 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.6818, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.6819, allocations: 32.72 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.682, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.682, allocations: 30.14 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.89e-05/0.6821, allocations: 17.62 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.038e-06/0.6822, allocations: 4 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.232e-06/0.6822, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.14e-06/0.6822, allocations: 3.938 kB / 1.461 GB, free: 283.7 MB / 0.8542 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.0003769/0.6826, allocations: 324.9 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6827, allocations: 15.56 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.6827, allocations: 4 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.6828, allocations: 166.2 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.6829, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.6829, allocations: 13.91 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.6831, allocations: 41.69 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6831, allocations: 0.6094 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6832, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-06/0.6832, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.6833, allocations: 20.77 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.6835, allocations: 161.6 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.6837, allocations: 50.02 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.6838, allocations: 21.72 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.6839, allocations: 77.11 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.6839, allocations: 35.34 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 3.549e-06/0.684, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.001949/0.6859, allocations: 489.1 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.686, allocations: 55.89 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.6861, allocations: 99.98 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.6861, allocations: 25.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.6861, allocations: 80.14 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.6862, allocations: 19.72 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-06/0.6862, allocations: 1 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.6863, allocations: 318.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.6864, allocations: 16.61 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.6865, allocations: 17.05 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.6866, allocations: 12 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-06/0.6866, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000231/0.6868, allocations: 79.86 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6869, allocations: 4 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.751e-06/0.6869, allocations: 1.312 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6869, allocations: 7.938 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6871, allocations: 11.98 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.158e-06/0.6871, allocations: 0 / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.6872, allocations: 4.656 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.6872, allocations: 0.8438 kB / 1.463 GB, free: 281.3 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.6873, allocations: 119.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.6874, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.6877, allocations: 89.52 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-06/0.6877, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.755e-06/0.6877, allocations: 0.5625 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.016e-06/0.6877, allocations: 2.969 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.6879, allocations: 173.6 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6879, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.6881, allocations: 12 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-06/0.6882, allocations: 1.219 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.6882, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.6882, allocations: 8.125 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.09e-06/0.6882, allocations: 3.984 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.6886, allocations: 119 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.6886, allocations: 85.05 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.6887, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.6888, allocations: 5.188 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.6888, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.6889, allocations: 4.859 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.6889, allocations: 79.91 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.009e-06/0.6889, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005457/0.6895, allocations: 29.44 kB / 1.464 GB, free: 280.5 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/0.6898, allocations: 135.2 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.69, allocations: 36.48 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.152e-06/0.6901, allocations: 1.625 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.6902, allocations: 20 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.6905, allocations: 10.61 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.691, allocations: 146.1 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.6911, allocations: 0.6885 MB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.228e-05/0.6912, allocations: 7.625 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.6913, allocations: 11.44 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.931e-06/0.6913, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005496/0.6968, allocations: 0.834 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB