Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.733/1.733, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.0005941, allocations: 19.98 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6269, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007907/0.6277, allocations: 317.3 kB / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.6291, allocations: 1.13 MB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.6291, allocations: 0 / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.6291, allocations: 3.938 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.6294, allocations: 8 kB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.378e-06/0.6294, allocations: 4 kB / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.717e-05/0.6294, allocations: 3.984 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.6295, allocations: 3.984 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.264e-05/0.6295, allocations: 0 / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.6295, allocations: 7.938 kB / 0.7294 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.6295, allocations: 7.938 kB / 0.7294 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.753e-05/0.6296, allocations: 19.97 kB / 0.7294 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-06/0.6296, allocations: 0 / 0.7294 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.6297, allocations: 25.7 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.411e-05/0.6297, allocations: 7.984 kB / 0.7295 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.6297, allocations: 0 / 0.7295 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6297, allocations: 0 / 0.7295 GB, free: 9.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.6298, allocations: 0 / 0.7295 GB, free: 9.875 MB / 0.545 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.0002613/0.63, allocations: 319.3 kB / 0.7298 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.6301, allocations: 8.031 kB / 0.7298 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.6301, allocations: 4 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.6302, allocations: 171 kB / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.6302, allocations: 0 / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.6302, allocations: 0 / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.6303, allocations: 33.64 kB / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6304, allocations: 0 / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6304, allocations: 4 kB / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6304, allocations: 0 / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.6304, allocations: 7.984 kB / 0.73 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.6306, allocations: 159.6 kB / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.6308, allocations: 38.55 kB / 0.7302 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.6309, allocations: 85.19 kB / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.6309, allocations: 34.56 kB / 0.7303 GB, free: 8.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.631, allocations: 0 / 0.7303 GB, free: 8.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004022/0.635, allocations: 0.5642 MB / 0.7309 GB, free: 8.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.6351, allocations: 55.41 kB / 0.7309 GB, free: 8.215 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.57e-05/0.6351, allocations: 89.86 kB / 0.731 GB, free: 8.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.6351, allocations: 29.7 kB / 0.731 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.6352, allocations: 80.14 kB / 0.7311 GB, free: 8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.6352, allocations: 19.64 kB / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.6352, allocations: 4 kB / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6353, allocations: 322.8 kB / 0.7314 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.6359, allocations: 87.83 kB / 0.7315 GB, free: 7.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.6365, allocations: 102.5 kB / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.637, allocations: 87.95 kB / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.637, allocations: 0 / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001156/0.6382, allocations: 209.6 kB / 0.7319 GB, free: 7.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6382, allocations: 8 kB / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6382, allocations: 7.922 kB / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6383, allocations: 0 / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.6386, allocations: 52 kB / 0.732 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6387, allocations: 0 / 0.732 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.639, allocations: 39.98 kB / 0.732 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.639, allocations: 7.984 kB / 0.732 GB, free: 7.047 MB / 0.545 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.287e-05/0.6391, allocations: 116.9 kB / 0.7321 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.6391, allocations: 4 kB / 0.7321 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.6404, allocations: 233 kB / 0.7323 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6405, allocations: 4 kB / 0.7323 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6405, allocations: 256 / 0.7323 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6405, allocations: 0 / 0.7323 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.6419, allocations: 458.5 kB / 0.7328 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.642, allocations: 0 / 0.7328 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.6423, allocations: 55.91 kB / 0.7328 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.6424, allocations: 0 / 0.7328 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.6424, allocations: 4 kB / 0.7328 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6424, allocations: 0 / 0.7328 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6424, allocations: 0 / 0.7328 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.6436, allocations: 303.3 kB / 0.7331 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.6437, allocations: 81.11 kB / 0.7332 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.6437, allocations: 7.984 kB / 0.7332 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.6441, allocations: 31.98 kB / 0.7332 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.6441, allocations: 12 kB / 0.7333 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.6441, allocations: 3.984 kB / 0.7333 GB, free: 5.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.6441, allocations: 75.28 kB / 0.7333 GB, free: 5.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6441, allocations: 0 / 0.7333 GB, free: 5.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002664/0.6444, allocations: 12 kB / 0.7333 GB, free: 5.57 MB / 0.545 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.000197/0.6446, allocations: 107.2 kB / 0.7334 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.6459, allocations: 179.9 kB / 0.7336 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6459, allocations: 0 / 0.7336 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005793/0.6465, allocations: 96 kB / 0.7337 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.6466, allocations: 14.7 kB / 0.7337 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.6477, allocations: 214.7 kB / 0.7339 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.648, allocations: 0.6809 MB / 0.7346 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.6482, allocations: 31.94 kB / 0.7346 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.6483, allocations: 11.44 kB / 0.7346 GB, free: 4.188 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.6483, allocations: 0 / 0.7346 GB, free: 4.188 MB / 0.545 GB Notification: Performance of Templates: time 0.002985/0.6513, allocations: 0.7884 MB / 0.7354 GB, free: 3.41 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: