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.00104/0.00104, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0008972/0.000897, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.5871/0.5871, allocations: 95.58 MB / 366 MB, free: 10.41 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.0005354/0.0005355, allocations: 16 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3172, allocations: 70.34 MB / 0.505 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.000784/0.3181, allocations: 273.7 kB / 0.5053 GB, free: 16.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003695/0.3185, allocations: 145.4 kB / 0.5054 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.3185, allocations: 0 / 0.5054 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.3186, allocations: 7.938 kB / 0.5054 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.3186, allocations: 0 / 0.5054 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.3189, allocations: 27.97 kB / 0.5054 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.319, allocations: 0 / 0.5054 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.319, allocations: 3.984 kB / 0.5054 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.3191, allocations: 8 kB / 0.5055 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.3192, allocations: 7.938 kB / 0.5055 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3192, allocations: 3.984 kB / 0.5055 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.3193, allocations: 23.97 kB / 0.5055 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.3193, allocations: 15.94 kB / 0.5055 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.3193, allocations: 29.69 kB / 0.5055 GB, free: 16.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.458e-05/0.3194, allocations: 7.984 kB / 0.5055 GB, free: 16.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3194, allocations: 0 / 0.5055 GB, free: 16.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3194, allocations: 0 / 0.5055 GB, free: 16.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3194, allocations: 0 / 0.5055 GB, free: 16.12 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.0003006/0.3197, allocations: 323.4 kB / 0.5058 GB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3198, allocations: 11.98 kB / 0.5059 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.3198, allocations: 3.906 kB / 0.5059 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.3199, allocations: 159.1 kB / 0.506 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3199, allocations: 8 kB / 0.506 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.32, allocations: 0 / 0.506 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3201, allocations: 63.28 kB / 0.5061 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3201, allocations: 0 / 0.5061 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3201, allocations: 0 / 0.5061 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3201, allocations: 0 / 0.5061 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.3202, allocations: 7.984 kB / 0.5061 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.3204, allocations: 158.6 kB / 0.5062 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.3204, allocations: 45.14 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3205, allocations: 89.09 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3206, allocations: 30.56 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3206, allocations: 0 / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.001064/0.3216, allocations: 422.5 kB / 0.5068 GB, free: 14.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3217, allocations: 85.11 kB / 0.5069 GB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.008e-05/0.3217, allocations: 93.8 kB / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.3217, allocations: 25.7 kB / 0.507 GB, free: 14.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.169e-05/0.3218, allocations: 80.14 kB / 0.5071 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3218, allocations: 15.73 kB / 0.5071 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.3218, allocations: 4.125 kB / 0.5071 GB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.3219, allocations: 318.8 kB / 0.5074 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.3219, allocations: 4 kB / 0.5074 GB, free: 13.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.3219, allocations: 26.56 kB / 0.5074 GB, free: 13.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.3219, allocations: 15.88 kB / 0.5074 GB, free: 13.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.322, allocations: 0 / 0.5074 GB, free: 13.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.05e-05/0.322, allocations: 61.62 kB / 0.5075 GB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3221, allocations: 5.875 kB / 0.5075 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3221, allocations: 128 / 0.5075 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3221, allocations: 7.953 kB / 0.5075 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.3222, allocations: 12 kB / 0.5075 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3222, allocations: 3.984 kB / 0.5075 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.3222, allocations: 0 / 0.5075 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3222, allocations: 4 kB / 0.5075 GB, free: 13.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.3223, allocations: 113.9 kB / 0.5076 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.3223, allocations: 7.906 kB / 0.5076 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.3224, allocations: 65.11 kB / 0.5077 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3224, allocations: 3.953 kB / 0.5077 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3224, allocations: 0 / 0.5077 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3224, allocations: 0 / 0.5077 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.661e-05/0.3225, allocations: 149.7 kB / 0.5079 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3225, allocations: 4.031 kB / 0.5079 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.3226, allocations: 15.94 kB / 0.5079 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3226, allocations: 0 / 0.5079 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3226, allocations: 7.984 kB / 0.5079 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3226, allocations: 0 / 0.5079 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3226, allocations: 3.953 kB / 0.5079 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.3227, allocations: 95.7 kB / 0.508 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.3228, allocations: 77.11 kB / 0.5081 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3228, allocations: 3.984 kB / 0.5081 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.3228, allocations: 8.125 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.3228, allocations: 7.984 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3229, allocations: 4 kB / 0.5081 GB, free: 13.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.275e-05/0.3229, allocations: 75.28 kB / 0.5081 GB, free: 13.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3229, allocations: 3.938 kB / 0.5082 GB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.3231, allocations: 27.98 kB / 0.5082 GB, free: 12.98 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 (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.0001568/0.3233, allocations: 127.3 kB / 0.5083 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.35e-05/0.3234, allocations: 23.98 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3234, allocations: 7.875 kB / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.3234, allocations: 19.92 kB / 0.5083 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.943e-05/0.3235, allocations: 0 / 0.5083 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.3237, allocations: 117.8 kB / 0.5085 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.3238, allocations: 0.6809 MB / 0.5091 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.325e-05/0.3239, allocations: 0 / 0.5091 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.3239, allocations: 11.44 kB / 0.5091 GB, free: 11.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3239, allocations: 0 / 0.5091 GB, free: 11.93 MB / 382.1 MB Notification: Performance of Templates: time 0.002776/0.3267, allocations: 0.7298 MB / 0.5098 GB, free: 11.2 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: