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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 176 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 97.38 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 11.53 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008612/0.2561, allocations: 342.2 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2574, allocations: 1.137 MB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.188e-05/0.2575, allocations: 0 / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.2575, allocations: 0 / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.2577, allocations: 19.94 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.2577, allocations: 0 / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.028e-05/0.2578, allocations: 3.984 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.2578, allocations: 3.984 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.2578, allocations: 4 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.573e-05/0.2579, allocations: 7.922 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.2579, allocations: 0 / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.258, allocations: 19.98 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.258, allocations: 3.938 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.258, allocations: 29.69 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.535e-05/0.2581, allocations: 8 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2581, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.544e-06/0.2581, allocations: 4 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2581, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 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.0002087/0.2583, allocations: 315.5 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2584, allocations: 16.03 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.2584, allocations: 0.9375 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.613e-05/0.2585, allocations: 164.4 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2585, allocations: 384 / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2585, allocations: 8.359 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2587, allocations: 38.02 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2587, allocations: 0 / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2587, allocations: 0 / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2587, allocations: 0 / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.2588, allocations: 11.98 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.2589, allocations: 145.7 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.2591, allocations: 38.55 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.2591, allocations: 12.86 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2592, allocations: 85.19 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2593, allocations: 34.5 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2593, allocations: 3.938 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.004023/0.2633, allocations: 0.5677 MB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2634, allocations: 55.41 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.85e-05/0.2634, allocations: 89.86 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2634, allocations: 25.7 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.2634, allocations: 88.08 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.2635, allocations: 27.92 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.2635, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.2636, allocations: 310.8 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.2641, allocations: 83.95 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.2647, allocations: 102.5 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.2658, allocations: 190.5 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2658, allocations: 0 / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001137/0.2669, allocations: 213.5 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.267, allocations: 12.06 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.267, allocations: 0 / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.267, allocations: 0 / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.2674, allocations: 55.91 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2674, allocations: 0 / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.2677, allocations: 39.98 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2677, allocations: 7.984 kB / 0.9056 GB, free: 58.93 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.2678, allocations: 109.8 kB / 0.9057 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.2678, allocations: 3.938 kB / 0.9057 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.2691, allocations: 233.1 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2691, allocations: 7.938 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2691, allocations: 4.422 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2691, allocations: 0 / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.2705, allocations: 454.4 kB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2705, allocations: 0 / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.2709, allocations: 47.97 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2709, allocations: 0 / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2709, allocations: 3.984 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2709, allocations: 11.92 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2709, allocations: 0 / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2721, allocations: 303.6 kB / 0.9068 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.2721, allocations: 85.16 kB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2721, allocations: 7.938 kB / 0.9069 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.2725, allocations: 39.98 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.2725, allocations: 4 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2725, allocations: 3.984 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.819e-05/0.2725, allocations: 75.28 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2725, allocations: 0 / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002238/0.2728, allocations: 12 kB / 0.907 GB, free: 57.45 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.273, allocations: 103.2 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.2741, allocations: 187.8 kB / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2742, allocations: 4 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.2747, allocations: 88.08 kB / 0.9073 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2749, allocations: 10.11 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.276, allocations: 240.4 kB / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2761, allocations: 0.6809 MB / 0.9082 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.2762, allocations: 11.44 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2762, allocations: 0 / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.002259/0.2785, allocations: 1.09 MB / 0.9093 GB, free: 54.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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)