Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.101/4.101, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.002512/0.002512, allocations: 179 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.944/3.944, allocations: 205.4 MB / 0.5772 GB, free: 21.14 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.001521/0.00152, allocations: 89.94 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 16.34 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4196, allocations: 106.3 MB / 0.8995 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.777, allocations: 131.4 MB / 1.028 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.004684/0.7818, allocations: 87.92 kB / 1.028 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009651/0.7915, allocations: 0.8685 MB / 1.029 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.787e-06/0.7916, allocations: 0 / 1.029 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.7916, allocations: 0 / 1.029 GB, free: 13.46 MB / 0.6823 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.0004009/0.792, allocations: 315.6 kB / 1.029 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.7921, allocations: 8.031 kB / 1.029 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.7922, allocations: 0.9375 kB / 1.029 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.7924, allocations: 168.4 kB / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.7924, allocations: 4.375 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.7925, allocations: 4.281 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.7926, allocations: 34.2 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.7927, allocations: 4.172 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7927, allocations: 7.938 kB / 1.029 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.7927, allocations: 0 / 1.029 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.7928, allocations: 8 kB / 1.029 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.7931, allocations: 149.7 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/0.7976, allocations: 30.58 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.7977, allocations: 16.94 kB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.798, allocations: 77.11 kB / 1.03 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.7981, allocations: 42.5 kB / 1.03 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 4.659e-06/0.7981, allocations: 0 / 1.03 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.01492/0.8131, allocations: 0.5714 MB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.8132, allocations: 59.34 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.815, allocations: 89.86 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.8152, allocations: 25.7 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.8153, allocations: 80.14 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.8154, allocations: 15.8 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.8154, allocations: 4 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.8157, allocations: 314.8 kB / 1.031 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.8173, allocations: 79.95 kB / 1.031 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.8189, allocations: 106.5 kB / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.8206, allocations: 87.95 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8207, allocations: 0 / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.003355/0.8241, allocations: 213.5 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.8242, allocations: 12 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.8242, allocations: 0 / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.8243, allocations: 4 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009825/0.8253, allocations: 51.91 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.8253, allocations: 0 / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/0.8263, allocations: 47.97 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.8263, allocations: 4.422 kB / 1.031 GB, free: 10.62 MB / 0.6823 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.0001854/0.8265, allocations: 105.8 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.8266, allocations: 3.938 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/0.8304, allocations: 241.3 kB / 1.032 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.8305, allocations: 7.984 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.8305, allocations: 3.938 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.8306, allocations: 0 / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.8349, allocations: 450.5 kB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.835, allocations: 0 / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.8363, allocations: 47.97 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/0.8364, allocations: 4 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.8365, allocations: 3.984 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.8365, allocations: 3.938 kB / 1.032 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8365, allocations: 0 / 1.032 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.8401, allocations: 307.4 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.8402, allocations: 81.02 kB / 1.033 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.8403, allocations: 4 kB / 1.033 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/0.8413, allocations: 39.98 kB / 1.033 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.8415, allocations: 3.984 kB / 1.033 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.8416, allocations: 4 kB / 1.033 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.444e-05/0.8417, allocations: 75.28 kB / 1.033 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.22e-07/0.8417, allocations: 0 / 1.033 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009266/0.8426, allocations: 11.94 kB / 1.033 GB, free: 9.141 MB / 0.6823 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.0004108/0.8431, allocations: 111.2 kB / 1.033 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003583/0.8467, allocations: 183.8 kB / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8468, allocations: 7.938 kB / 1.033 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.8484, allocations: 88.08 kB / 1.033 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.8491, allocations: 7.938 kB / 1.033 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.8522, allocations: 222.6 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.8527, allocations: 0.677 MB / 1.034 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006767/0.8534, allocations: 27.98 kB / 1.034 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.8536, allocations: 7.438 kB / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of SimCode: time 1.603e-06/0.8536, allocations: 4 kB / 1.034 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of Templates: time 0.006223/0.8599, allocations: 0.7933 MB / 1.035 GB, free: 6.961 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)