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.394/5.394, allocations: 0.5623 GB / 0.5769 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.002585/0.002585, allocations: 362.8 kB / 0.644 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.297/4.297, allocations: 410.7 MB / 1.112 GB, free: 5.949 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.001765/0.001764, allocations: 182.5 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004798, allocations: 16 kB / 1.348 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6523, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008336/0.6532, allocations: 323.6 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.6552, allocations: 1.115 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.6553, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.121e-05/0.6553, allocations: 1.094 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.6556, allocations: 15.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.222e-06/0.6556, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.876e-05/0.6556, allocations: 12.67 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.6557, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.6557, allocations: 1.75 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.874e-05/0.6558, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.003e-06/0.6558, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.6559, allocations: 19.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.259e-06/0.656, allocations: 1.5 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.656, allocations: 25.7 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.499e-05/0.6561, allocations: 11.97 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.151e-06/0.6561, allocations: 3.938 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.081e-06/0.6561, allocations: 0.9688 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.456e-06/0.6562, allocations: 0 / 1.462 GB, free: 282.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002192/0.6564, allocations: 321.1 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6565, allocations: 11.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.6565, allocations: 1.359 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.6566, allocations: 175 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6566, allocations: 1.219 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.6567, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.6568, allocations: 37.69 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.6569, allocations: 2.75 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6569, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.248e-06/0.6569, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.657, allocations: 5.641 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.6572, allocations: 159.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.6574, allocations: 39.36 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.6575, allocations: 13.58 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.6577, allocations: 81.11 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.6577, allocations: 36.92 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 3.344e-06/0.6578, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.007294/0.6651, allocations: 0.5701 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.6651, allocations: 51.41 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.439e-05/0.6652, allocations: 89.86 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.6652, allocations: 26.67 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.77e-05/0.6653, allocations: 80.14 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.6653, allocations: 20.75 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.6654, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.6655, allocations: 315.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.6666, allocations: 86.7 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.6677, allocations: 101 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6688, allocations: 91.42 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-06/0.6689, allocations: 1.438 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002389/0.6713, allocations: 210.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6713, allocations: 8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.6714, allocations: 3.984 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.6714, allocations: 0.6562 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/0.6722, allocations: 51.59 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.616e-06/0.6722, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.6728, allocations: 40.11 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.6729, allocations: 0 / 1.465 GB, free: 280 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 0.0001139/0.673, allocations: 118.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.6731, allocations: 5.391 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.6757, allocations: 242.6 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.888e-06/0.6757, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.869e-06/0.6758, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-06/0.6758, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.6785, allocations: 456.6 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.444e-06/0.6785, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007359/0.6793, allocations: 52.22 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.6793, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.6794, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.741e-06/0.6794, allocations: 4.656 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.6794, allocations: 3.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.6818, allocations: 305.6 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.6818, allocations: 77.11 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.6819, allocations: 5.281 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/0.6827, allocations: 38.91 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.6827, allocations: 9.219 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.6828, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.6828, allocations: 75.28 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.046e-06/0.6828, allocations: 1.156 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006386/0.6835, allocations: 16 kB / 1.466 GB, free: 278.6 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 (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 Backend phase and start with SimCode phase: time 0.0002284/0.6837, allocations: 112.7 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.6859, allocations: 173.3 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.734e-06/0.6859, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.6871, allocations: 90.52 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.6876, allocations: 11.98 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.6896, allocations: 212.8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.6898, allocations: 0.6815 MB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005756/0.6904, allocations: 27.91 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.6905, allocations: 7.438 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.369e-06/0.6905, allocations: 0 / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003326/0.6939, allocations: 0.8054 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB