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.0009813/0.0009813, allocations: 80.94 kB / 20.72 MB, free: 3.758 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.001094/0.001094, allocations: 169 kB / 24.14 MB, free: 348 kB / 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.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5911/0.5911, allocations: 115 MB / 376 MB, free: 7.395 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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 3.627e-06/3.627e-06, allocations: 0 / 428.7 MB, free: 2.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.272e-05, allocations: 6.25 kB / 428.7 MB, free: 2.762 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002402/0.002434, allocations: 1.522 MB / 430.3 MB, free: 1.227 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007909/0.003225, allocations: 0.596 MB / 430.9 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.003275, allocations: 0 / 430.9 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.003302, allocations: 3.938 kB / 430.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.003352, allocations: 7.938 kB / 430.9 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.003608, allocations: 67.73 kB / 430.9 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.003696, allocations: 31.86 kB / 431 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.003764, allocations: 7.984 kB / 431 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003871, allocations: 27.8 kB / 431 MB, free: 492 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.003912, allocations: 11.98 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.003924, allocations: 4 kB / 431 MB, free: 476 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.004014, allocations: 47.95 kB / 431.1 MB, free: 428 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.004028, allocations: 7.938 kB / 431.1 MB, free: 420 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.004045, allocations: 15.97 kB / 431.1 MB, free: 404 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.004165, allocations: 67.8 kB / 431.1 MB, free: 336 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004167, allocations: 3.938 kB / 431.1 MB, free: 332 kB / 394.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004167, allocations: 0 / 431.1 MB, free: 332 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.00417, allocations: 0 / 431.1 MB, free: 332 kB / 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.0002655/0.004436, allocations: 252.8 kB / 431.4 MB, free: 56 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004471, allocations: 8.031 kB / 431.4 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.006963, allocations: 0.9804 MB / 432.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.007123, allocations: 125.7 kB / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.007131, allocations: 384 / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.007156, allocations: 4.375 kB / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.007806, allocations: 338.5 kB / 432.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.007812, allocations: 192 / 432.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.007832, allocations: 4.359 kB / 432.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.007836, allocations: 3.938 kB / 432.9 MB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.007992, allocations: 59.98 kB / 432.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.009242, allocations: 0.6013 MB / 433.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.009862, allocations: 294.3 kB / 433.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.009947, allocations: 40.91 kB / 433.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.00996, allocations: 4 kB / 433.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.009978, allocations: 30.56 kB / 433.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.00998, allocations: 0 / 433.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000316/0.0103, allocations: 125.5 kB / 434 MB, free: 13.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.01033, allocations: 55.41 kB / 434 MB, free: 13.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.01038, allocations: 118.8 kB / 434.2 MB, free: 13.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.01041, allocations: 25.7 kB / 434.2 MB, free: 13.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.01044, allocations: 84.09 kB / 434.3 MB, free: 13.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01047, allocations: 11.94 kB / 434.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.01053, allocations: 25.67 kB / 434.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.01061, allocations: 310.8 kB / 434.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.01069, allocations: 31.98 kB / 434.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.01076, allocations: 27.98 kB / 434.7 MB, free: 12.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.01088, allocations: 56.83 kB / 434.7 MB, free: 12.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01089, allocations: 0 / 434.7 MB, free: 12.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.01107, allocations: 85.61 kB / 434.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01109, allocations: 4 kB / 434.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01109, allocations: 0 / 434.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.0111, allocations: 11.88 kB / 434.8 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.0116, allocations: 195.8 kB / 435 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.0116, allocations: 0 / 435 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.01203, allocations: 183.8 kB / 435.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.01204, allocations: 7.984 kB / 435.2 MB, free: 12.11 MB / 410.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 7.899e-05/0.01212, allocations: 109.8 kB / 435.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.01216, allocations: 4 kB / 435.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.0122, allocations: 11.62 kB / 435.3 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.0122, allocations: 3.938 kB / 435.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.0122, allocations: 4 kB / 435.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.0122, allocations: 0 / 435.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.01237, allocations: 121.8 kB / 435.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01237, allocations: 0 / 435.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.01282, allocations: 191.8 kB / 435.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01283, allocations: 4 kB / 435.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.01284, allocations: 7.969 kB / 435.7 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.01284, allocations: 0 / 435.7 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01284, allocations: 0 / 435.7 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.01308, allocations: 191.4 kB / 435.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.01308, allocations: 0 / 435.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.01311, allocations: 0 / 435.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.01355, allocations: 191.8 kB / 436 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.01358, allocations: 7.938 kB / 436 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.01359, allocations: 3.984 kB / 436 MB, free: 11.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.728e-05/0.01361, allocations: 16.84 kB / 436.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01361, allocations: 0 / 436.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006648/0.01427, allocations: 36 kB / 436.1 MB, free: 11.18 MB / 410.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 9.886e-05/0.01437, allocations: 72.42 kB / 436.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.01459, allocations: 84.75 kB / 436.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.0146, allocations: 0 / 436.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.0147, allocations: 48.89 kB / 436.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.01483, allocations: 31.86 kB / 436.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.01524, allocations: 172.4 kB / 436.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.01527, allocations: 55.36 kB / 436.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.01541, allocations: 32 kB / 436.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.01558, allocations: 59.34 kB / 436.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01558, allocations: 0 / 436.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Templates: time 0.003648/0.01923, allocations: 2.803 MB / 439.4 MB, free: 7.738 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.467441163957119]