Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.077/5.077, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.002507/0.002506, allocations: 356.4 kB / 0.6447 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.361/4.361, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.001924/0.001924, allocations: 184.4 kB / 1.226 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006625/0.0006627, allocations: 12 kB / 1.349 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.742, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.0025/0.7445, allocations: 1.169 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.7463, allocations: 0.5703 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.7464, allocations: 1.625 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.7464, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.7465, allocations: 7.938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.7469, allocations: 36.8 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.747, allocations: 27.86 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7471, allocations: 5.031 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.7473, allocations: 11.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.7474, allocations: 10.38 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.7474, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.7476, allocations: 51.88 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.7476, allocations: 8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.7477, allocations: 29.64 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.7479, allocations: 47.86 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7479, allocations: 0.7188 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7479, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.7479, allocations: 2.375 kB / 1.463 GB, free: 282.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005123/0.7485, allocations: 345.3 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.7486, allocations: 11.62 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.7486, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.7488, allocations: 174.9 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.7488, allocations: 2.422 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.7488, allocations: 8.531 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.7491, allocations: 42.25 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.7491, allocations: 3.094 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.7491, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7492, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.7494, allocations: 23.98 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.7498, allocations: 258 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.75, allocations: 36.91 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.7501, allocations: 16.92 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.7519, allocations: 0.4916 MB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.752, allocations: 30.56 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 5.4e-06/0.752, allocations: 1.031 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0005094/0.7525, allocations: 72.11 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.7526, allocations: 51.41 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.7527, allocations: 114.5 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.7528, allocations: 29.7 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.7528, allocations: 84.89 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.7529, allocations: 7.844 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.7529, allocations: 0.6875 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.753, allocations: 321 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.7531, allocations: 8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.7533, allocations: 11.98 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.7534, allocations: 13.28 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7534, allocations: 3.938 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002959/0.7537, allocations: 65.75 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.7538, allocations: 7.984 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7538, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7538, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.754, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.7541, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.7542, allocations: 7.891 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.7542, allocations: 1 kB / 1.465 GB, free: 279.9 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 (2): * Single equations (assignments): 2 * 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.481e-05/0.7543, allocations: 122.3 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.7544, allocations: 0.8438 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.7547, allocations: 62.52 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.7548, allocations: 4 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7548, allocations: 0.6562 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.7548, allocations: 82.14 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.7549, allocations: 5.297 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.755, allocations: 8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.7551, allocations: 5.391 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003385/0.7555, allocations: 137.9 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003288/0.7558, allocations: 233.2 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001226/0.756, allocations: 9.625 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.771e-05/0.7561, allocations: 87.27 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of Backend: time 9.92e-07/0.7561, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007767/0.7569, allocations: 118.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004968/0.7574, allocations: 0.5856 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005416/0.7628, allocations: 0.7167 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB