Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.073/5.073, allocations: 0.5623 GB / 0.5776 GB, free: 3.32 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.002567/0.002566, allocations: 355.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.316/4.316, allocations: 410.7 MB / 1.113 GB, free: 5.938 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.001832/0.001832, allocations: 183.7 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005065, allocations: 16 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7349/0.7354, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007477/0.7362, allocations: 321.8 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.7377, allocations: 1.12 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.7377, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.7378, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.738, allocations: 25.12 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.736e-06/0.738, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.615e-05/0.738, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.7381, allocations: 4.906 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.7381, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.285e-05/0.7381, allocations: 0.9062 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.7382, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.7383, allocations: 19.92 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-06/0.7383, allocations: 4.516 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.7383, allocations: 32.36 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.261e-05/0.7384, allocations: 3.984 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7384, allocations: 4 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7384, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.7384, allocations: 0 / 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.0002125/0.7386, allocations: 315.4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7387, allocations: 16.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.7387, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.681e-05/0.7388, allocations: 171 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.7388, allocations: 1.812 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.7389, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.019e-05/0.739, allocations: 34.86 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.739, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.739, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.739, allocations: 0.8125 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.7391, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.7392, allocations: 160.3 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.7394, allocations: 32.05 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.7394, allocations: 15.11 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.7396, allocations: 86.78 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.7396, allocations: 30.56 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.7397, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.007023/0.7467, allocations: 0.5688 MB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.7468, allocations: 55.41 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.596e-05/0.7468, allocations: 89.86 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.7468, allocations: 32.53 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.678e-05/0.7469, allocations: 80.14 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.7469, allocations: 15.75 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.7469, allocations: 3.938 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.747, allocations: 318.8 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.748, allocations: 82.73 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.7491, allocations: 106.1 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.7501, allocations: 87.81 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7501, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002159/0.7523, allocations: 210.6 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7524, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7524, allocations: 1.375 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.7524, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.7531, allocations: 54.88 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7531, allocations: 0.8125 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.7537, allocations: 48.16 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.7537, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.71e-05/0.7538, allocations: 112.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.7539, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.7562, allocations: 242 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.7563, allocations: 3.984 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7563, allocations: 0.75 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.7563, allocations: 77.11 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.7564, allocations: 1.062 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.7569, allocations: 39.58 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.757, allocations: 7.938 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002685/0.7597, allocations: 321.6 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002159/0.7618, allocations: 380.5 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001025/0.7629, allocations: 86.38 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.012e-05/0.7629, allocations: 82.06 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of Backend: time 6.91e-07/0.7629, allocations: 3.938 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.7645, allocations: 175.6 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003243/0.7648, allocations: 0.5477 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Templates: time 0.004293/0.7691, allocations: 1.333 MB / 1.469 GB, free: 276.8 MB / 0.8542 GB