Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothMin.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.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.928/4.928, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002524/0.002524, allocations: 356.6 kB / 0.6446 GB, free: 185.6 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.452/4.452, allocations: 410.7 MB / 1.113 GB, free: 5.934 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.00182/0.00182, allocations: 188.3 kB / 1.226 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005218, allocations: 16 kB / 1.349 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7828, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001692/0.7846, allocations: 1.169 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003734/0.785, allocations: 137.5 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.785, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.7851, allocations: 5.812 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.7851, allocations: 3.938 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.7854, allocations: 27.91 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.908e-05/0.7855, allocations: 35.91 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.7856, allocations: 16.19 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.7856, allocations: 15.92 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.7857, allocations: 11.92 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.7857, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.7858, allocations: 31.97 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.7858, allocations: 3.984 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.7859, allocations: 38.42 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.786, allocations: 35.94 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.786, allocations: 4.594 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.833e-06/0.786, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7861, allocations: 2.281 kB / 1.463 GB, free: 282.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004597/0.7865, allocations: 369.2 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.7866, allocations: 12.19 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.7884, allocations: 237.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.7886, allocations: 175 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.7886, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.7886, allocations: 4.906 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/0.7896, allocations: 217.4 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7896, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.7896, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7897, allocations: 5.031 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.7912, allocations: 319.4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.7925, allocations: 449.5 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.7946, allocations: 344.2 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/0.7953, allocations: 122.1 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.7953, allocations: 1.312 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.7954, allocations: 30.56 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 3.026e-06/0.7954, allocations: 0.6562 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.002081/0.7975, allocations: 376.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.7975, allocations: 51.41 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7977, allocations: 118.5 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.7977, allocations: 27.02 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.7977, allocations: 96.12 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.7978, allocations: 3.906 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.7978, allocations: 0.875 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.7979, allocations: 322.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.7986, allocations: 114.2 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.7992, allocations: 109.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.7999, allocations: 98.98 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7999, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001347/0.8012, allocations: 256.4 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8013, allocations: 10.12 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8013, allocations: 5.531 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.8013, allocations: 7.891 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.8018, allocations: 49.88 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8018, allocations: 0 / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.8022, allocations: 37.27 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.8022, allocations: 5.359 kB / 1.467 GB, free: 278.8 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 (3): * Single equations (assignments): 3 * 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 9.986e-05/0.8023, allocations: 121.8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.8024, allocations: 8.75 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.8024, allocations: 8.844 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8025, allocations: 0 / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8025, allocations: 4.453 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.8025, allocations: 85.02 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.8025, allocations: 4.484 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.8029, allocations: 39.36 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.803, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001704/0.8047, allocations: 369.8 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001412/0.8061, allocations: 428.3 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006621/0.8068, allocations: 114 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.8069, allocations: 91.77 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of Backend: time 5.91e-07/0.8069, allocations: 4.531 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.8081, allocations: 206.3 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004827/0.8086, allocations: 0.5934 MB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005128/0.8137, allocations: 1.501 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB