Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001032/0.001032, allocations: 184.8 kB / 366.7 MB, free: 1.609 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.2 MB / 0.626 GB, free: 7.117 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008525/0.0008523, allocations: 88.11 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.109e-05, allocations: 8 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5631, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.7466, allocations: 138.1 MB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.7469, allocations: 84.81 kB / 1.108 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002124/0.749, allocations: 0.8345 MB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7491, allocations: 0 / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.7491, allocations: 0.7812 kB / 1.109 GB, free: 11.14 MB / 0.7136 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.0002194/0.7493, allocations: 323.4 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7493, allocations: 8.031 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.7494, allocations: 4 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.185e-05/0.7495, allocations: 163.8 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7495, allocations: 0 / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.7495, allocations: 1.062 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.972e-05/0.7496, allocations: 11.92 kB / 1.11 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.719e-05/0.7496, allocations: 33.48 kB / 1.11 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7497, allocations: 0.5312 kB / 1.11 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.7497, allocations: 0 / 1.11 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.7497, allocations: 1.562 kB / 1.11 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.7498, allocations: 134.2 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.7499, allocations: 31.12 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.75, allocations: 10.3 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.7501, allocations: 85.23 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.7501, allocations: 35.06 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.7502, allocations: 9.672 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.002547/0.7527, allocations: 358 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.7527, allocations: 54.38 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.978e-05/0.7528, allocations: 85 kB / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.7528, allocations: 32.64 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.7528, allocations: 80.14 kB / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.7529, allocations: 11.81 kB / 1.11 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.7529, allocations: 0 / 1.11 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.753, allocations: 318.8 kB / 1.111 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.753, allocations: 8 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.7531, allocations: 26.58 kB / 1.111 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.7532, allocations: 11.98 kB / 1.111 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.7532, allocations: 4 kB / 1.111 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001725/0.7534, allocations: 69.56 kB / 1.111 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7534, allocations: 12.08 kB / 1.111 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.7534, allocations: 0 / 1.111 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7534, allocations: 0 / 1.111 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.7539, allocations: 51.97 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.7539, allocations: 2.953 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.7542, allocations: 39.98 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.7542, allocations: 0 / 1.111 GB, free: 8.984 MB / 0.7136 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 () * 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 7.415e-05/0.7543, allocations: 105 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.7543, allocations: 14.12 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.7546, allocations: 89.72 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7546, allocations: 4 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7547, allocations: 0 / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7547, allocations: 4 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.7551, allocations: 287.1 kB / 1.111 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7551, allocations: 3.953 kB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.7555, allocations: 47.97 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7555, allocations: 0 / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.7555, allocations: 3.984 kB / 1.112 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7555, allocations: 4 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7555, allocations: 1.812 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.7557, allocations: 158.1 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.7558, allocations: 85.06 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.7558, allocations: 3.094 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.7562, allocations: 39.97 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.7562, allocations: 4 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.7562, allocations: 0 / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.7562, allocations: 79.22 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7562, allocations: 0 / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000235/0.7565, allocations: 15.94 kB / 1.112 GB, free: 7.969 MB / 0.7136 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 () * 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.0001353/0.7566, allocations: 103.2 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.7567, allocations: 24 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7567, allocations: 3.938 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.7568, allocations: 23.92 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.7569, allocations: 2.344 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.7574, allocations: 102.8 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.7577, allocations: 0.6768 MB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.7579, allocations: 28 kB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.758, allocations: 11.44 kB / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.758, allocations: 0 / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.002272/0.7603, allocations: 0.7831 MB / 1.114 GB, free: 6.195 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)