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.0009556/0.0009556, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002368, allocations: 447.8 kB / 10.34 MB, free: 352 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.0009131/0.0009131, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002092, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.047/1.047, allocations: 177.1 MB / 189.6 MB, free: 3.742 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1819/1.229, allocations: 53.66 MB / 243.2 MB, free: 2.344 MB / 234.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.6556/0.6556, allocations: 119.1 MB / 363.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06575/0.7214, allocations: 37.85 MB / 400.9 MB, free: 15.3 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.523e-06/1.523e-06, allocations: 0 / 402.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.972e-05, allocations: 2.312 kB / 402.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002139/0.002158, allocations: 1.565 MB / 403.8 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.002888, allocations: 0.6115 MB / 404.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.00294, allocations: 0 / 404.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.00296, allocations: 3.938 kB / 404.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.002987, allocations: 7.922 kB / 404.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.003152, allocations: 51.81 kB / 404.5 MB, free: 11.72 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.003224, allocations: 31.86 kB / 404.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.556e-05/0.00329, allocations: 0 / 404.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.003421, allocations: 47.77 kB / 404.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.003465, allocations: 8 kB / 404.6 MB, free: 11.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.003477, allocations: 0 / 404.6 MB, free: 11.63 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.003613, allocations: 51.95 kB / 404.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.003625, allocations: 7.938 kB / 404.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.003641, allocations: 4 kB / 404.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.003777, allocations: 63.77 kB / 404.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.003792, allocations: 0 / 404.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003793, allocations: 0 / 404.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.003806, allocations: 0 / 404.7 MB, free: 11.51 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.0003594/0.004166, allocations: 264.4 kB / 404.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.004202, allocations: 15.89 kB / 405 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.00679, allocations: 1.063 MB / 406 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.006973, allocations: 121.7 kB / 406.1 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.006982, allocations: 384 / 406.1 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.007003, allocations: 8.375 kB / 406.1 MB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.007658, allocations: 342.5 kB / 406.5 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.007665, allocations: 192 / 406.5 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.007684, allocations: 384 / 406.5 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.007689, allocations: 3.938 kB / 406.5 MB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.007843, allocations: 59.98 kB / 406.5 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.009081, allocations: 0.6053 MB / 407.2 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.009689, allocations: 286.3 kB / 407.4 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.311e-05/0.009772, allocations: 40.91 kB / 407.5 MB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.009795, allocations: 4 kB / 407.5 MB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.009817, allocations: 30.56 kB / 407.5 MB, free: 8.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.009818, allocations: 0 / 407.5 MB, free: 8.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003313/0.01015, allocations: 133.6 kB / 407.6 MB, free: 8.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.01018, allocations: 51.41 kB / 407.7 MB, free: 8.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.01024, allocations: 122.6 kB / 407.8 MB, free: 8.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.01026, allocations: 25.7 kB / 407.8 MB, free: 8.211 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.0103, allocations: 84.12 kB / 407.9 MB, free: 8.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.01033, allocations: 7.953 kB / 407.9 MB, free: 8.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.01039, allocations: 21.67 kB / 407.9 MB, free: 8.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.01048, allocations: 322.8 kB / 408.3 MB, free: 7.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.01056, allocations: 32.02 kB / 408.3 MB, free: 7.734 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.01064, allocations: 31.98 kB / 408.3 MB, free: 7.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.01076, allocations: 48.89 kB / 408.4 MB, free: 7.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01077, allocations: 0 / 408.4 MB, free: 7.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.01095, allocations: 81.67 kB / 408.4 MB, free: 7.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01096, allocations: 4 kB / 408.5 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01097, allocations: 0 / 408.5 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.01098, allocations: 11.88 kB / 408.5 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.01156, allocations: 203.8 kB / 408.7 MB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.01157, allocations: 0 / 408.7 MB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.01199, allocations: 179.8 kB / 408.8 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.012, allocations: 11.97 kB / 408.8 MB, free: 7.164 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 8.018e-05/0.01208, allocations: 105.8 kB / 409 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.01212, allocations: 4 kB / 409 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.01216, allocations: 11.62 kB / 409 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.01217, allocations: 7.938 kB / 409 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01217, allocations: 4 kB / 409 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01217, allocations: 3.984 kB / 409 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.01234, allocations: 125.8 kB / 409.1 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01235, allocations: 0 / 409.1 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.01286, allocations: 207.8 kB / 409.3 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.01287, allocations: 3.953 kB / 409.3 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01287, allocations: 0 / 409.3 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01289, allocations: 11.98 kB / 409.3 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01289, allocations: 3.938 kB / 409.3 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01289, allocations: 0 / 409.3 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.01313, allocations: 191.5 kB / 409.5 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01316, allocations: 3.938 kB / 409.5 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.01359, allocations: 175.9 kB / 409.7 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.01361, allocations: 3.938 kB / 409.7 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.01363, allocations: 11.97 kB / 409.7 MB, free: 6.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.56e-05/0.01365, allocations: 8.859 kB / 409.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01365, allocations: 0 / 409.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.01381, allocations: 40 kB / 409.8 MB, free: 6.211 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.0001019/0.01392, allocations: 76.42 kB / 409.8 MB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.01414, allocations: 84.8 kB / 409.9 MB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.01415, allocations: 0 / 409.9 MB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.01425, allocations: 52.83 kB / 410 MB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.0144, allocations: 32.02 kB / 410 MB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.01517, allocations: 164.3 kB / 410.2 MB, free: 5.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.0152, allocations: 59.34 kB / 410.2 MB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.01536, allocations: 36 kB / 410.2 MB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.01553, allocations: 59.34 kB / 410.3 MB, free: 5.594 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01553, allocations: 0 / 410.3 MB, free: 5.594 MB / 394.7 MB Notification: Performance of Templates: time 0.00413/0.01966, allocations: 2.814 MB / 413.1 MB, free: 2.762 MB / 394.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.3002634663134813]