Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 80.92 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9731/0.9731, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.049/2.049, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.365e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002405/0.002429, allocations: 1.553 MB / 0.7767 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006689/0.003098, allocations: 496 kB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.003134, allocations: 4 kB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.003158, allocations: 0.7188 kB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.003229, allocations: 7.25 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.003401, allocations: 19.98 kB / 0.7772 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.003467, allocations: 29.97 kB / 0.7772 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.003537, allocations: 4.625 kB / 0.7772 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.003612, allocations: 12.75 kB / 0.7773 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.00365, allocations: 18.84 kB / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.003662, allocations: 0 / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.003732, allocations: 20.58 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.003748, allocations: 5.531 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.003763, allocations: 9.719 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.719e-05/0.00385, allocations: 27.91 kB / 0.7773 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003852, allocations: 0.5938 kB / 0.7773 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003852, allocations: 0 / 0.7773 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003856, allocations: 0.5938 kB / 0.7773 GB, free: 3.168 MB / 0.7292 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.0002672/0.004123, allocations: 237.6 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004156, allocations: 17.33 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.004331, allocations: 13.48 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.097e-05/0.004402, allocations: 106.9 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-06/0.004409, allocations: 384 / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.004415, allocations: 384 / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.004504, allocations: 59.72 kB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.00451, allocations: 192 / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.004517, allocations: 5.625 kB / 0.7778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004521, allocations: 3.938 kB / 0.7778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/0.004544, allocations: 7.984 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.004744, allocations: 156.2 kB / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/0.004784, allocations: 28.12 kB / 0.7779 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.004797, allocations: 8.922 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.004809, allocations: 0 / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.004826, allocations: 32 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.004827, allocations: 0 / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001042/0.004931, allocations: 49.67 kB / 0.778 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.004955, allocations: 52.16 kB / 0.7781 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.683e-05/0.005001, allocations: 102.7 kB / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.005012, allocations: 27.3 kB / 0.7782 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.005044, allocations: 88.12 kB / 0.7783 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.005061, allocations: 7.891 kB / 0.7783 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.005086, allocations: 17.66 kB / 0.7783 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.005169, allocations: 319.5 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.005179, allocations: 4 kB / 0.7786 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.005188, allocations: 1.312 kB / 0.7786 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.005216, allocations: 12.86 kB / 0.7786 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005217, allocations: 1.5 kB / 0.7786 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.472e-05/0.005272, allocations: 41.69 kB / 0.7787 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.005284, allocations: 4 kB / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.00529, allocations: 256 / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005301, allocations: 8.422 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.005376, allocations: 21.27 kB / 0.7787 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005378, allocations: 0 / 0.7787 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.005402, allocations: 4 kB / 0.7787 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.005407, allocations: 0 / 0.7787 GB, free: 1.617 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.244e-05/0.005459, allocations: 110.5 kB / 0.7788 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.005474, allocations: 5.125 kB / 0.7788 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.005504, allocations: 7.297 kB / 0.7788 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.005507, allocations: 5 kB / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.005508, allocations: 0 / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005511, allocations: 0 / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/0.005596, allocations: 70.41 kB / 0.7789 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005597, allocations: 0.7812 kB / 0.7789 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.005626, allocations: 7.984 kB / 0.7789 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.005628, allocations: 0.5625 kB / 0.7789 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005634, allocations: 4 kB / 0.7789 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005634, allocations: 0.625 kB / 0.7789 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005635, allocations: 1.781 kB / 0.7789 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.005717, allocations: 135.4 kB / 0.779 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.005724, allocations: 8 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.005733, allocations: 0 / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.005772, allocations: 11.23 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.0058, allocations: 3.938 kB / 0.7791 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.005803, allocations: 0 / 0.7791 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.136e-05/0.005814, allocations: 8.859 kB / 0.7791 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005814, allocations: 0 / 0.7791 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001196/0.005934, allocations: 11.94 kB / 0.7791 GB, free: 1.199 MB / 0.7292 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 (2): * Single equations (assignments): 2 * 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 7.134e-05/0.006005, allocations: 80.41 kB / 0.7792 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.775e-05/0.006063, allocations: 19.88 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.006065, allocations: 0 / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.006082, allocations: 12.8 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.006216, allocations: 14.22 kB / 0.7792 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.006413, allocations: 112.6 kB / 0.7793 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.006446, allocations: 56.86 kB / 0.7794 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.006472, allocations: 2.219 kB / 0.7794 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.006521, allocations: 51.38 kB / 0.7794 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.006522, allocations: 1.219 kB / 0.7794 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of Templates: time 0.002115/0.008637, allocations: 0.587 MB / 0.78 GB, free: 248 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.067692176904529]