Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.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.0007732/0.0007732, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008483/0.001622, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007047/0.0007047, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001733, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08636/1.088, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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 1.901/1.901, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4931/2.394, allocations: 127.1 MB / 0.7432 GB, free: 4.578 MB / 0.7136 GB " [Timeout remaining time 178] 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0.7656 kB / 0.7445 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.79e-05, allocations: 4.984 kB / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002527/0.002545, allocations: 1.567 MB / 0.746 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.002834, allocations: 141.1 kB / 0.7462 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.002867, allocations: 0.7812 kB / 0.7462 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.002906, allocations: 3.938 kB / 0.7462 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.002961, allocations: 12.95 kB / 0.7462 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.003086, allocations: 28.84 kB / 0.7462 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.003193, allocations: 46.31 kB / 0.7462 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003309, allocations: 12.64 kB / 0.7463 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.003388, allocations: 29.83 kB / 0.7463 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.003434, allocations: 14.39 kB / 0.7463 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.003452, allocations: 4 kB / 0.7463 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.003566, allocations: 45.02 kB / 0.7463 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.003582, allocations: 6.188 kB / 0.7464 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.003602, allocations: 9.75 kB / 0.7464 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003742, allocations: 47.8 kB / 0.7464 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.003757, allocations: 0 / 0.7464 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003758, allocations: 2.375 kB / 0.7464 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.003776, allocations: 0.6562 kB / 0.7464 GB, free: 1.348 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003979/0.004174, allocations: 264.4 kB / 0.7467 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004212, allocations: 8.031 kB / 0.7467 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.00471, allocations: 159.1 kB / 0.7468 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.004802, allocations: 115.6 kB / 0.7469 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004814, allocations: 4.359 kB / 0.7469 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.004829, allocations: 4.375 kB / 0.7469 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.005056, allocations: 100.2 kB / 0.747 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005064, allocations: 192 / 0.747 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.005078, allocations: 5.531 kB / 0.747 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.005084, allocations: 1.141 kB / 0.747 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.005165, allocations: 31.92 kB / 0.7471 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.00561, allocations: 214 kB / 0.7473 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.005854, allocations: 63.86 kB / 0.7473 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.005892, allocations: 16.86 kB / 0.7474 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.005914, allocations: 2.438 kB / 0.7474 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.005934, allocations: 34.56 kB / 0.7474 GB, free: 248 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.005935, allocations: 0.6562 kB / 0.7474 GB, free: 248 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001848/0.00612, allocations: 57.56 kB / 0.7474 GB, free: 184 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.006154, allocations: 55.39 kB / 0.7475 GB, free: 116 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.006229, allocations: 110.8 kB / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.006246, allocations: 28.48 kB / 0.7476 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.006285, allocations: 100.7 kB / 0.7477 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.006311, allocations: 11.94 kB / 0.7477 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.006354, allocations: 17.7 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.006443, allocations: 314.8 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.006473, allocations: 4 kB / 0.7481 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.006503, allocations: 8 kB / 0.7481 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.006563, allocations: 26.45 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006566, allocations: 0 / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001031/0.006669, allocations: 52.83 kB / 0.7481 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.006684, allocations: 11.92 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006688, allocations: 0 / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006697, allocations: 3.938 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.006833, allocations: 19.97 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006837, allocations: 4 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.006904, allocations: 19.58 kB / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.006914, allocations: 4 kB / 0.7482 GB, free: 15.36 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 (3): * Single equations (assignments): 3 * 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 6.793e-05/0.006982, allocations: 105.8 kB / 0.7483 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.007009, allocations: 4 kB / 0.7483 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.007049, allocations: 15.92 kB / 0.7483 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007051, allocations: 3.938 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.007052, allocations: 0 / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007055, allocations: 0 / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.007195, allocations: 82.81 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007196, allocations: 0 / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.007304, allocations: 20.78 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.007313, allocations: 7.953 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.007315, allocations: 0.6875 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.007327, allocations: 7.922 kB / 0.7484 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007329, allocations: 1.125 kB / 0.7484 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00733, allocations: 0 / 0.7484 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.007462, allocations: 143.5 kB / 0.7486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.007476, allocations: 0.75 kB / 0.7486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.007576, allocations: 17.45 kB / 0.7486 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.007604, allocations: 7.922 kB / 0.7486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.007611, allocations: 0 / 0.7486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.847e-05/0.00763, allocations: 16.78 kB / 0.7486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00763, allocations: 4.562 kB / 0.7486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002187/0.007849, allocations: 15.94 kB / 0.7486 GB, free: 14.87 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 (3): * Single equations (assignments): 3 * 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 8.085e-05/0.00793, allocations: 73.55 kB / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.008045, allocations: 26.56 kB / 0.7487 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.008049, allocations: 0 / 0.7487 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.008094, allocations: 20.86 kB / 0.7488 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.00829, allocations: 12.77 kB / 0.7488 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.008851, allocations: 164.5 kB / 0.7489 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.008897, allocations: 59.34 kB / 0.749 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.008983, allocations: 11.53 kB / 0.749 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.009052, allocations: 55.36 kB / 0.749 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/0.009053, allocations: 0 / 0.749 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.00224/0.01129, allocations: 0.9746 MB / 0.75 GB, free: 13.47 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.926567934453487]