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 5.059/5.059, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002394/0.002394, allocations: 355 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.39/4.39, allocations: 410.7 MB / 1.112 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.001811/0.001811, allocations: 186.2 kB / 1.225 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.000508, allocations: 12 kB / 1.348 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5871, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001409/0.5885, allocations: 1.173 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000311/0.5889, allocations: 133.6 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.5889, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.589, allocations: 3.938 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.547e-05/0.589, allocations: 5.094 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.5892, allocations: 27.84 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.5893, allocations: 37.86 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.5894, allocations: 18.34 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.5895, allocations: 15.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.5895, allocations: 11.94 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5895, allocations: 4 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.5896, allocations: 27.97 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.5897, allocations: 9.016 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.5897, allocations: 29.64 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.091e-05/0.5898, allocations: 39.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.661e-06/0.5898, allocations: 0.7812 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.875e-06/0.5898, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.078e-06/0.5898, allocations: 0.5312 kB / 1.462 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.0003634/0.5902, allocations: 359.2 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5902, allocations: 11.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.5915, allocations: 257.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/0.5916, allocations: 163 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.5916, allocations: 5.188 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.5916, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.5923, allocations: 221 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.602e-06/0.5923, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.5923, allocations: 0.6562 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-06/0.5923, allocations: 2.109 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/0.5933, allocations: 323.1 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000961/0.5943, allocations: 457.2 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5956, allocations: 339.9 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.5961, allocations: 118.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.5961, allocations: 6.438 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5961, allocations: 38.55 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 3.52e-06/0.5962, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.001369/0.5975, allocations: 374.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.5976, allocations: 52.22 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.5977, allocations: 118 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.5977, allocations: 28.89 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.5978, allocations: 84.14 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.5978, allocations: 11.89 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-06/0.5978, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.5979, allocations: 314.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.5983, allocations: 111.1 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.5987, allocations: 114.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.5991, allocations: 108.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.742e-06/0.5992, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008967/0.6001, allocations: 259.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6001, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-06/0.6001, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6001, allocations: 7.953 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.6005, allocations: 41.23 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.629e-06/0.6005, allocations: 384 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.6007, allocations: 50.47 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.6008, allocations: 4 kB / 1.466 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 8.696e-05/0.6009, allocations: 117.6 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.6009, allocations: 3.938 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.601, allocations: 16.48 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-06/0.601, allocations: 5.266 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.601, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-06/0.601, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.6013, allocations: 209.5 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-06/0.6013, allocations: 1.375 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.6016, allocations: 41.92 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.353e-06/0.6016, allocations: 3.984 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.6016, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.314e-06/0.6016, allocations: 3.953 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-06/0.6016, allocations: 4.719 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.6026, allocations: 348.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.6026, allocations: 81.02 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.6026, allocations: 0.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.6029, allocations: 47.44 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.603, allocations: 7.953 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.603, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.6031, allocations: 91.27 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.87e-07/0.6031, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003356/0.6034, allocations: 14.06 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001069/0.6036, allocations: 99.25 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008821/0.6044, allocations: 240 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.518e-06/0.6045, allocations: 0 / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.6049, allocations: 116.4 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.6052, allocations: 12 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.6063, allocations: 294.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.6064, allocations: 0.6932 MB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.6066, allocations: 23.05 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.6066, allocations: 8.094 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.651e-06/0.6066, allocations: 0 / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.003213/0.6099, allocations: 0.8112 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB