Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.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.004012/0.004012, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.005347, 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.00072/0.00072, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009411/0.001661, 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.041/1.041, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.129, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.854/1.854, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4993/2.354, allocations: 127.1 MB / 0.7432 GB, free: 4.574 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7445 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.911e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002107/0.002126, allocations: 1.579 MB / 0.746 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.002791, allocations: 0.5991 MB / 0.7466 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.002833, allocations: 4 kB / 0.7466 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.002855, allocations: 3.938 kB / 0.7466 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.699e-05/0.002882, allocations: 6.781 kB / 0.7466 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.003031, allocations: 57.38 kB / 0.7467 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.00311, allocations: 28.08 kB / 0.7467 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.003183, allocations: 10.17 kB / 0.7467 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.003293, allocations: 34.2 kB / 0.7467 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.003337, allocations: 9.203 kB / 0.7468 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.003348, allocations: 0.5469 kB / 0.7468 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.003463, allocations: 55.94 kB / 0.7468 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.003474, allocations: 8.141 kB / 0.7468 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.003489, allocations: 5.312 kB / 0.7468 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003615, allocations: 72.34 kB / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.003629, allocations: 0 / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003629, allocations: 0 / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.003644, allocations: 0 / 0.7469 GB, free: 0.8477 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.0004042/0.004048, allocations: 253.6 kB / 0.7471 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.004078, allocations: 12.02 kB / 0.7471 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.00663, allocations: 1.062 MB / 0.7482 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.006799, allocations: 133.6 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.006807, allocations: 1.406 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.006826, allocations: 384 / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/0.007474, allocations: 332 kB / 0.7486 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.007481, allocations: 5.188 kB / 0.7486 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.007497, allocations: 4.375 kB / 0.7486 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.007503, allocations: 8.625 kB / 0.7486 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.007668, allocations: 55.95 kB / 0.7487 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.009057, allocations: 0.5986 MB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.009694, allocations: 294 kB / 0.7496 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.009786, allocations: 43.34 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.009806, allocations: 3.984 kB / 0.7496 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.009827, allocations: 35.22 kB / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.009828, allocations: 0 / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003372/0.01017, allocations: 128.2 kB / 0.7498 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.01019, allocations: 51.41 kB / 0.7498 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.01025, allocations: 118.7 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.01028, allocations: 30.77 kB / 0.75 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.01031, allocations: 84.12 kB / 0.75 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.01034, allocations: 7.938 kB / 0.75 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.01041, allocations: 22.81 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.01048, allocations: 314.8 kB / 0.7504 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.01057, allocations: 30.08 kB / 0.7504 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.01068, allocations: 30.77 kB / 0.7504 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.01084, allocations: 49.02 kB / 0.7505 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01085, allocations: 0 / 0.7505 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002533/0.0111, allocations: 85.61 kB / 0.7506 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01111, allocations: 4 kB / 0.7506 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01112, allocations: 0 / 0.7506 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.01113, allocations: 7.969 kB / 0.7506 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.01178, allocations: 211.8 kB / 0.7508 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.01178, allocations: 0 / 0.7508 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.0122, allocations: 179.8 kB / 0.7509 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01222, allocations: 7.984 kB / 0.7509 GB, free: 12.7 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 7.531e-05/0.0123, allocations: 109.8 kB / 0.7511 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.01234, allocations: 4 kB / 0.7511 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.01237, allocations: 7.625 kB / 0.7511 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01238, allocations: 3.938 kB / 0.7511 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01238, allocations: 8 kB / 0.7511 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01238, allocations: 7.984 kB / 0.7511 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.01256, allocations: 121.8 kB / 0.7512 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01257, allocations: 3.938 kB / 0.7512 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.01307, allocations: 207.8 kB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.01308, allocations: 0 / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01308, allocations: 0 / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.0131, allocations: 3.984 kB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.0131, allocations: 11.88 kB / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0131, allocations: 0 / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.01332, allocations: 187.5 kB / 0.7516 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.01335, allocations: 8.031 kB / 0.7516 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.01379, allocations: 175.8 kB / 0.7518 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.01381, allocations: 7.922 kB / 0.7518 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.01383, allocations: 11.98 kB / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.382e-05/0.01385, allocations: 8.859 kB / 0.7518 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01385, allocations: 0 / 0.7518 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001605/0.01401, allocations: 36 kB / 0.7518 GB, free: 11.75 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.72e-05/0.01408, allocations: 80.41 kB / 0.7519 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.0143, allocations: 76.77 kB / 0.752 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.0143, allocations: 4.062 kB / 0.752 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.0144, allocations: 48.83 kB / 0.752 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.01454, allocations: 35.89 kB / 0.7521 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.01532, allocations: 172.5 kB / 0.7522 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.01562, allocations: 59.34 kB / 0.7523 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.01579, allocations: 36 kB / 0.7523 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.01597, allocations: 59.34 kB / 0.7524 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01597, allocations: 0 / 0.7524 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of Templates: time 0.003899/0.01987, allocations: 2.797 MB / 0.7551 GB, free: 8.328 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.991350335069001]