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.0007102/0.0007103, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004297/0.004297, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.175/1.175, allocations: 205.4 MB / 222.4 MB, free: 5.539 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: 252 MB / 0.5105 GB, free: 4.691 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.0004897/0.0004897, allocations: 16 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3789, allocations: 106.3 MB / 0.7287 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006935/0.3796, allocations: 332.6 kB / 0.7291 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.38, allocations: 178.3 kB / 0.7292 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.3801, allocations: 4 kB / 0.7292 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.3801, allocations: 0 / 0.7292 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.916e-05/0.3801, allocations: 3.938 kB / 0.7292 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3803, allocations: 23.98 kB / 0.7293 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.3804, allocations: 19.97 kB / 0.7293 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.3804, allocations: 0 / 0.7293 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.3804, allocations: 4 kB / 0.7293 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.3805, allocations: 11.92 kB / 0.7293 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.3805, allocations: 4 kB / 0.7293 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.3806, allocations: 31.97 kB / 0.7293 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.3806, allocations: 7.984 kB / 0.7293 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.3807, allocations: 37.62 kB / 0.7294 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.345e-05/0.3808, allocations: 31.89 kB / 0.7294 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3808, allocations: 0 / 0.7294 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3808, allocations: 0 / 0.7294 GB, free: 10.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.3808, allocations: 0 / 0.7294 GB, free: 10.72 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.0003216/0.3811, allocations: 327.5 kB / 0.7297 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.3811, allocations: 11.97 kB / 0.7297 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.3812, allocations: 4.938 kB / 0.7297 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3813, allocations: 170.5 kB / 0.7299 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-06/0.3813, allocations: 384 / 0.7299 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.3813, allocations: 4.375 kB / 0.7299 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.3814, allocations: 42.23 kB / 0.7299 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.3814, allocations: 4.188 kB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3814, allocations: 3.938 kB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3815, allocations: 0 / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.3815, allocations: 12 kB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.3817, allocations: 153.7 kB / 0.7301 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.3818, allocations: 54.56 kB / 0.7301 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.3818, allocations: 20.97 kB / 0.7302 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-05/0.3819, allocations: 77.11 kB / 0.7302 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3819, allocations: 38.56 kB / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.3819, allocations: 0 / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001111/0.383, allocations: 0.4922 MB / 0.7308 GB, free: 9.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3831, allocations: 59.39 kB / 0.7308 GB, free: 8.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.3831, allocations: 93.86 kB / 0.7309 GB, free: 8.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3832, allocations: 25.7 kB / 0.7309 GB, free: 8.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.3832, allocations: 80.14 kB / 0.731 GB, free: 8.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3832, allocations: 23.7 kB / 0.731 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.3833, allocations: 13.72 kB / 0.731 GB, free: 8.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.3834, allocations: 315 kB / 0.7313 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.3834, allocations: 15.98 kB / 0.7314 GB, free: 8.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.3834, allocations: 12.08 kB / 0.7314 GB, free: 8.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.3835, allocations: 40.98 kB / 0.7314 GB, free: 8.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3835, allocations: 3.938 kB / 0.7314 GB, free: 8.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001105/0.3836, allocations: 73.56 kB / 0.7315 GB, free: 8.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3836, allocations: 7.938 kB / 0.7315 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3836, allocations: 0 / 0.7315 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.3836, allocations: 4 kB / 0.7315 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.3837, allocations: 8 kB / 0.7315 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3837, allocations: 4 kB / 0.7315 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.3838, allocations: 4 kB / 0.7315 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3838, allocations: 3.984 kB / 0.7315 GB, free: 8.238 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.478e-05/0.3838, allocations: 113.8 kB / 0.7316 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.3839, allocations: 3.938 kB / 0.7316 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.384, allocations: 97.41 kB / 0.7317 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.384, allocations: 0 / 0.7317 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.384, allocations: 0 / 0.7317 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.384, allocations: 4 kB / 0.7317 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3842, allocations: 157.7 kB / 0.7319 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3842, allocations: 3.984 kB / 0.7319 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.3842, allocations: 16 kB / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3843, allocations: 3.938 kB / 0.7319 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3843, allocations: 4.188 kB / 0.7319 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3843, allocations: 4 kB / 0.7319 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3843, allocations: 0 / 0.7319 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.3844, allocations: 117 kB / 0.732 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.3845, allocations: 85.08 kB / 0.7321 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3845, allocations: 7.984 kB / 0.7321 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.3845, allocations: 0 / 0.7321 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.3846, allocations: 4 kB / 0.7321 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3846, allocations: 0 / 0.7321 GB, free: 7.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.3846, allocations: 79.28 kB / 0.7322 GB, free: 7.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3846, allocations: 0 / 0.7322 GB, free: 7.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002051/0.3848, allocations: 35.98 kB / 0.7322 GB, free: 7.41 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.0002169/0.385, allocations: 131.4 kB / 0.7323 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3851, allocations: 39.91 kB / 0.7324 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3852, allocations: 4 kB / 0.7324 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.3852, allocations: 16 kB / 0.7324 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3853, allocations: 11.94 kB / 0.7324 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.3857, allocations: 160.9 kB / 0.7326 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3859, allocations: 0.6848 MB / 0.7332 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.386, allocations: 11.73 kB / 0.7332 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.386, allocations: 15.38 kB / 0.7333 GB, free: 6.285 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.386, allocations: 0 / 0.7333 GB, free: 6.285 MB / 0.545 GB Notification: Performance of Templates: time 0.002889/0.3889, allocations: 0.8543 MB / 0.7341 GB, free: 5.465 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: