Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000822/0.000822, allocations: 85.05 kB / 9.985 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.00199, allocations: 452 kB / 10.43 MB, free: 264 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.0007193/0.0007193, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001746, allocations: 483.5 kB / 11.8 MB, free: 2.359 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 0.9977/0.9977, allocations: 177.2 MB / 189.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09899/1.097, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6445/0.6445, allocations: 120.1 MB / 364.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06836/0.7128, allocations: 38.16 MB / 402.4 MB, free: 12.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.406e-05, allocations: 10.25 kB / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002193/0.002217, allocations: 1.561 MB / 405.3 MB, free: 9.355 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.002976, allocations: 0.6114 MB / 405.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.003017, allocations: 4 kB / 405.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.003036, allocations: 0 / 405.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.652e-05/0.003062, allocations: 7.875 kB / 405.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.003226, allocations: 59.81 kB / 406 MB, free: 8.668 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.003306, allocations: 31.86 kB / 406 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/0.007393, allocations: 4 kB / 406 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.007544, allocations: 35.89 kB / 406.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.00759, allocations: 11.94 kB / 406.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.007603, allocations: 0 / 406.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.007732, allocations: 59.88 kB / 406.1 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.007746, allocations: 4 kB / 406.1 MB, free: 8.523 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.007762, allocations: 7.938 kB / 406.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.0079, allocations: 59.83 kB / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.007911, allocations: 3.984 kB / 406.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.007912, allocations: 4 kB / 406.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.007922, allocations: 0 / 406.2 MB, free: 8.449 MB / 394.7 MB 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.0003191/0.008241, allocations: 252.4 kB / 406.5 MB, free: 8.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.008272, allocations: 8.031 kB / 406.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009359/0.01763, allocations: 1.075 MB / 407.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.01782, allocations: 121.7 kB / 407.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.01783, allocations: 4.359 kB / 407.7 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.01787, allocations: 4.375 kB / 407.7 MB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.0187, allocations: 334.5 kB / 408 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.01871, allocations: 192 / 408 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.01874, allocations: 4.375 kB / 408 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01874, allocations: 3.938 kB / 408 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.01894, allocations: 63.92 kB / 408.1 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.0205, allocations: 0.5936 MB / 408.7 MB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.0213, allocations: 290.3 kB / 408.9 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.02141, allocations: 44.91 kB / 409 MB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.02143, allocations: 8 kB / 409 MB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.02145, allocations: 30.56 kB / 409 MB, free: 5.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.02145, allocations: 0 / 409 MB, free: 5.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003903/0.02184, allocations: 125.5 kB / 409.1 MB, free: 5.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.02187, allocations: 51.41 kB / 409.2 MB, free: 5.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.02193, allocations: 118.6 kB / 409.3 MB, free: 5.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.02196, allocations: 29.7 kB / 409.3 MB, free: 5.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.02199, allocations: 84.27 kB / 409.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.02202, allocations: 7.938 kB / 409.4 MB, free: 5.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.0221, allocations: 25.67 kB / 409.5 MB, free: 5.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.02218, allocations: 314.8 kB / 409.8 MB, free: 4.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.0253, allocations: 27.98 kB / 409.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.0254, allocations: 31.98 kB / 409.8 MB, free: 4.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.02556, allocations: 52.83 kB / 409.9 MB, free: 4.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02556, allocations: 0 / 409.9 MB, free: 4.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000248/0.02581, allocations: 85.67 kB / 410 MB, free: 4.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.02582, allocations: 7.938 kB / 410 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.02583, allocations: 0 / 410 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.02584, allocations: 3.938 kB / 410 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.02658, allocations: 207.8 kB / 410.2 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.02659, allocations: 4 kB / 410.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.02714, allocations: 183.8 kB / 410.4 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.02717, allocations: 7.984 kB / 410.4 MB, free: 4.117 MB / 394.7 MB 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 9.551e-05/0.02726, allocations: 105.8 kB / 410.5 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.02731, allocations: 4 kB / 410.5 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.02736, allocations: 11.62 kB / 410.5 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.02737, allocations: 3.938 kB / 410.5 MB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02737, allocations: 4 kB / 410.5 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.02737, allocations: 7.922 kB / 410.5 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.02758, allocations: 121.8 kB / 410.6 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.02758, allocations: 0 / 410.6 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003718/0.0313, allocations: 215.8 kB / 410.8 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.03131, allocations: 0 / 410.8 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.03131, allocations: 0 / 410.8 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.03134, allocations: 7.984 kB / 410.8 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.03134, allocations: 3.938 kB / 410.8 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.03134, allocations: 0 / 410.8 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.03163, allocations: 179.5 kB / 411 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.03166, allocations: 4 kB / 411 MB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.03224, allocations: 175.9 kB / 411.2 MB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.03227, allocations: 11.92 kB / 411.2 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.03229, allocations: 11.98 kB / 411.2 MB, free: 3.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.03231, allocations: 16.78 kB / 411.2 MB, free: 3.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03231, allocations: 0 / 411.2 MB, free: 3.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.03254, allocations: 36 kB / 411.3 MB, free: 3.172 MB / 394.7 MB 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.0001066/0.03265, allocations: 72.42 kB / 411.3 MB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.03291, allocations: 84.81 kB / 411.4 MB, free: 3.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.03292, allocations: 3.938 kB / 411.4 MB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.03306, allocations: 56.92 kB / 411.5 MB, free: 2.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.03325, allocations: 27.95 kB / 411.5 MB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.03705, allocations: 168.5 kB / 411.7 MB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.03709, allocations: 59.34 kB / 411.7 MB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.03731, allocations: 28 kB / 411.8 MB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.03753, allocations: 63.34 kB / 411.8 MB, free: 2.555 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.03753, allocations: 0 / 411.8 MB, free: 2.555 MB / 394.7 MB Notification: Performance of Templates: time 0.007617/0.04515, allocations: 2.804 MB / 414.6 MB, free: 15.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2589360028505325]