Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.974/4.974, 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.002676/0.002676, allocations: 356.1 kB / 0.6447 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.404/4.404, 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.001935/0.001934, allocations: 192.1 kB / 1.226 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 12 kB / 1.349 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7696, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001714/0.7714, allocations: 1.157 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000408/0.7718, allocations: 176.5 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.7719, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.7719, allocations: 4.688 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.772, allocations: 3.938 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.7722, allocations: 20.55 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.7723, allocations: 21.92 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.7724, allocations: 7.984 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.7724, allocations: 11.92 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.7725, allocations: 8 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.7725, allocations: 1.031 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.7726, allocations: 35.95 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.7726, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.7726, allocations: 26.27 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.545e-05/0.7727, allocations: 29.22 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7728, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7728, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7728, allocations: 4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004428/0.7732, allocations: 347 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.7733, allocations: 17.19 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.7733, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.7734, allocations: 170.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7734, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.7735, allocations: 4.781 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.7737, allocations: 59.62 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7737, allocations: 1.75 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.7737, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7738, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.7741, allocations: 45.64 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.7744, allocations: 246.5 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.7746, allocations: 48.48 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.7747, allocations: 28.7 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.567e-05/0.7748, allocations: 86.61 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.7749, allocations: 30.56 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.7749, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0005211/0.7754, allocations: 105.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.7755, allocations: 51.41 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.7755, allocations: 102.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.7756, allocations: 27.33 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.7756, allocations: 85.91 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.7756, allocations: 7.906 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.7756, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.7757, allocations: 319.7 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.7759, allocations: 25.8 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.776, allocations: 27.11 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.7762, allocations: 19.98 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7762, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003095/0.7765, allocations: 75.75 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7765, allocations: 8.531 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7765, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7766, allocations: 0.5938 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.7767, allocations: 13.77 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.7767, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.7768, allocations: 14.14 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.7768, allocations: 3.938 kB / 1.465 GB, free: 280.7 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 6.907e-05/0.7769, allocations: 117.3 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.7769, allocations: 4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.7773, allocations: 83.03 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7773, allocations: 0.75 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7773, allocations: 256 / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.7774, allocations: 81.73 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.7774, allocations: 4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.7775, allocations: 20.97 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.7776, allocations: 4.875 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004031/0.778, allocations: 160 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003493/0.7784, allocations: 257.9 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001485/0.7785, allocations: 26.39 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.7786, allocations: 79.28 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of Backend: time 1.012e-06/0.7786, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.7791, allocations: 110.7 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004036/0.7796, allocations: 0.5615 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003273/0.7829, allocations: 0.5842 MB / 1.467 GB, free: 278.5 MB / 0.8542 GB