Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.143/5.143, allocations: 0.5623 GB / 0.5776 GB, free: 3.402 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.002452/0.002452, allocations: 356.6 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.367/4.367, allocations: 410.7 MB / 1.113 GB, free: 5.93 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.001901/0.001901, allocations: 183.3 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005095, allocations: 16 kB / 1.349 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7254, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007978/0.7263, allocations: 341.2 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003875/0.7267, allocations: 143.7 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.7267, allocations: 2.281 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.7268, allocations: 3.938 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.02e-05/0.7268, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.7271, allocations: 27.91 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.7272, allocations: 11.98 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.7272, allocations: 0.5312 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.7272, allocations: 7.938 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.7273, allocations: 16.5 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.7274, allocations: 1.375 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.7274, allocations: 31.97 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.7275, allocations: 0 / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.7275, allocations: 33.64 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.826e-05/0.7276, allocations: 16.7 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7276, allocations: 0 / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7276, allocations: 0.5312 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.7276, allocations: 4.531 kB / 1.462 GB, free: 283.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003301/0.728, allocations: 328.4 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.728, allocations: 9.109 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.7281, allocations: 5.469 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.7282, allocations: 165.1 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.7282, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.7282, allocations: 12.81 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.7283, allocations: 41.69 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7284, allocations: 0.6562 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.7284, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.7284, allocations: 0.75 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/0.7285, allocations: 21.75 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.7286, allocations: 160.2 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.469e-05/0.7287, allocations: 46.62 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.7288, allocations: 20.97 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.985e-05/0.7289, allocations: 78.11 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.7289, allocations: 38.56 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.7289, allocations: 2.094 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.00147/0.7304, allocations: 484.1 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.7304, allocations: 55.39 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/0.7305, allocations: 94.48 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.7305, allocations: 31.05 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.7306, allocations: 84.12 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.7306, allocations: 19.72 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.7306, allocations: 2.406 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.7307, allocations: 318.8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.7307, allocations: 15.94 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.7308, allocations: 15.98 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.716e-05/0.7308, allocations: 12 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.7308, allocations: 0.7188 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/0.731, allocations: 73.53 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.731, allocations: 5.781 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.731, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.731, allocations: 7.938 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.7312, allocations: 11.98 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.7312, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.7312, allocations: 5.109 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.7313, allocations: 0.7188 kB / 1.464 GB, free: 281.3 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 (8): * Single equations (assignments): 8 * 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.442e-05/0.7313, allocations: 119 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.7314, allocations: 448 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.7316, allocations: 94.25 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7316, allocations: 0.75 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7316, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.7316, allocations: 82.47 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.7317, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.7317, allocations: 6 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.7318, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002183/0.732, allocations: 157.2 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002397/0.7323, allocations: 269.7 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.057e-05/0.7323, allocations: 24.02 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.7324, allocations: 75.28 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of Backend: time 9.22e-07/0.7324, allocations: 0.6875 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.7329, allocations: 133.2 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003293/0.7333, allocations: 0.5768 MB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004042/0.7373, allocations: 0.9111 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB