Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.436/2.436, allocations: 287.5 MB / 303.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001945/0.001944, allocations: 192.2 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008982, allocations: 91.36 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004801, allocations: 13.94 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8765/1.083, allocations: 137.7 MB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.084, allocations: 86.58 kB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003539/1.087, allocations: 0.8555 MB / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.087, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.511e-06/1.087, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 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.0002912/1.088, allocations: 321.9 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.088, allocations: 7.781 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/1.088, allocations: 2.391 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.088, allocations: 164.3 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/1.088, allocations: 384 / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/1.088, allocations: 1.688 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/1.088, allocations: 36.52 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.088, allocations: 8.109 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/1.088, allocations: 3.938 kB / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.088, allocations: 7.875 kB / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/1.088, allocations: 5.109 kB / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/1.088, allocations: 148.3 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/1.088, allocations: 34.5 kB / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/1.088, allocations: 10.53 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/1.089, allocations: 82.19 kB / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/1.089, allocations: 39.86 kB / 1.116 GB, free: 30.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/1.089, allocations: 0 / 1.116 GB, free: 30.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.006862/1.095, allocations: 0.5818 MB / 1.116 GB, free: 30.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.096, allocations: 51.41 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.366e-05/1.096, allocations: 91.27 kB / 1.116 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/1.096, allocations: 25.7 kB / 1.116 GB, free: 30.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/1.096, allocations: 80.14 kB / 1.116 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/1.096, allocations: 16.73 kB / 1.116 GB, free: 30.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/1.096, allocations: 0 / 1.116 GB, free: 30.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.096, allocations: 316.4 kB / 1.117 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/1.097, allocations: 76.73 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.098, allocations: 105.1 kB / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/1.1, allocations: 193.3 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.1, allocations: 0 / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002118/1.102, allocations: 213.3 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.102, allocations: 7.844 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.102, allocations: 0 / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.102, allocations: 2.297 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/1.103, allocations: 53.17 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.103, allocations: 5.5 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/1.103, allocations: 46.88 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/1.103, allocations: 1.594 kB / 1.117 GB, free: 29.64 MB / 0.698 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.0001073/1.104, allocations: 113.8 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/1.104, allocations: 3.938 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/1.106, allocations: 237.7 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.106, allocations: 3.875 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.106, allocations: 0 / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.106, allocations: 1.5 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/1.108, allocations: 460.1 kB / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.108, allocations: 0 / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/1.109, allocations: 50.42 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.109, allocations: 0 / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/1.109, allocations: 1.172 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.109, allocations: 0 / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.109, allocations: 3.812 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.111, allocations: 306.3 kB / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/1.111, allocations: 78.7 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/1.111, allocations: 3.844 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/1.112, allocations: 45.38 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/1.112, allocations: 5.578 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/1.112, allocations: 384 / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.734e-05/1.112, allocations: 75.28 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/1.112, allocations: 3.875 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003466/1.112, allocations: 19.62 kB / 1.119 GB, free: 28.81 MB / 0.698 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.0001832/1.113, allocations: 101 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.115, allocations: 181.2 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.115, allocations: 3.938 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.116, allocations: 94.47 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/1.116, allocations: 7.844 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/1.118, allocations: 214 kB / 1.119 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/1.118, allocations: 0.6731 MB / 1.12 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003715/1.118, allocations: 34.77 kB / 1.12 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.119, allocations: 11.31 kB / 1.12 GB, free: 27.85 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.119, allocations: 0 / 1.12 GB, free: 27.85 MB / 0.698 GB Notification: Performance of Templates: time 0.003304/1.122, allocations: 0.7982 MB / 1.121 GB, free: 27.78 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)