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.001783/0.001783, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.00189/0.00189, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 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 1.578/1.578, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 3.148/3.148, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] 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 1.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.745e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002758/0.002785, allocations: 1.476 MB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.003709, allocations: 474.8 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.00375, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.003778, allocations: 3.938 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.003834, allocations: 3.938 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.004062, allocations: 31.84 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.004138, allocations: 23.92 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.004227, allocations: 4 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.004312, allocations: 11.98 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.004352, allocations: 15.92 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.004366, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.004429, allocations: 15.98 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.004449, allocations: 11.98 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.004468, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.004595, allocations: 43.75 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004599, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004599, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.004604, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 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.0004626/0.005067, allocations: 266.3 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.005104, allocations: 9.344 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.005361, allocations: 16.92 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.005478, allocations: 109.8 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.005489, allocations: 4.375 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.005501, allocations: 4.375 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.005694, allocations: 54.22 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005703, allocations: 192 / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.005712, allocations: 384 / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005719, allocations: 3.938 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.005906, allocations: 43.89 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.006309, allocations: 196.6 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.006453, allocations: 42.56 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.006545, allocations: 20.91 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.006568, allocations: 4 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.006606, allocations: 38.48 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.006606, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003788/0.006985, allocations: 93.67 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.007031, allocations: 55.34 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.00713, allocations: 97.86 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.00715, allocations: 29.7 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.007208, allocations: 88.12 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.007228, allocations: 7.891 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.007267, allocations: 13.72 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.007425, allocations: 314.8 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.007518, allocations: 19.98 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.007597, allocations: 20 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.00777, allocations: 48.77 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007771, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000214/0.007985, allocations: 77.58 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.008003, allocations: 7.938 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.008006, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.008018, allocations: 8.094 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.00814, allocations: 7.984 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008144, allocations: 0 / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.008218, allocations: 15.94 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.008224, allocations: 256 / 1.005 GB, free: 9.066 MB / 0.9636 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 8.875e-05/0.008312, allocations: 105.8 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.00834, allocations: 7.938 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.008378, allocations: 7.312 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.008381, allocations: 8 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.008385, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.008387, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.008537, allocations: 109.3 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008538, allocations: 0 / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.008629, allocations: 11.92 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008631, allocations: 4 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-05/0.008725, allocations: 3.938 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008726, allocations: 0 / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008727, allocations: 0 / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.009018, allocations: 167.5 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.00903, allocations: 7.953 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.009047, allocations: 7.922 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.009144, allocations: 7.938 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.009185, allocations: 7.984 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.00919, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.009247, allocations: 83.28 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.009247, allocations: 0 / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002124/0.009459, allocations: 4 kB / 1.005 GB, free: 8.473 MB / 0.9636 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 0.0001405/0.0096, allocations: 99.28 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.009823, allocations: 39.89 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009824, allocations: 4 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.009928, allocations: 19.98 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.0102, allocations: 10.17 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.01051, allocations: 113 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.732e-05/0.01058, allocations: 55.36 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.01062, allocations: 4 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.01066, allocations: 16.48 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.01066, allocations: 0 / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of Templates: time 0.003217/0.01387, allocations: 0.586 MB / 1.006 GB, free: 7.492 MB / 0.9636 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.599367552436888]