Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0007048/0.0007048, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001664, allocations: 452 kB / 10.43 MB, free: 268 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.000712/0.000712, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009453/0.001657, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9679/0.9679, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09554/1.063, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.6295/0.6295, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06924/0.6987, allocations: 38.15 MB / 402.4 MB, free: 12.28 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.06e-05, allocations: 2.312 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001221/0.001242, allocations: 0.6657 MB / 404.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000202/0.001444, allocations: 147.5 kB / 404.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.00146, allocations: 0 / 404.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.082e-06/0.001466, allocations: 3.938 kB / 404.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.001473, allocations: 0 / 404.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.001636, allocations: 39.77 kB / 404.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.001692, allocations: 19.98 kB / 404.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.00173, allocations: 0 / 404.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.001774, allocations: 15.97 kB / 404.7 MB, free: 9.996 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.001844, allocations: 3.938 kB / 404.7 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.001857, allocations: 4 kB / 404.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.001943, allocations: 39.95 kB / 404.7 MB, free: 9.949 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.001954, allocations: 4 kB / 404.7 MB, free: 9.945 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.296e-05/0.001967, allocations: 4 kB / 404.7 MB, free: 9.941 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.002062, allocations: 43.77 kB / 404.8 MB, free: 9.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.002072, allocations: 0 / 404.8 MB, free: 9.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002073, allocations: 0 / 404.8 MB, free: 9.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.002084, allocations: 0 / 404.8 MB, free: 9.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002933/0.002377, allocations: 228.6 kB / 405 MB, free: 9.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.002404, allocations: 8.031 kB / 405 MB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.002432, allocations: 8.938 kB / 405 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.268e-05/0.002505, allocations: 109.8 kB / 405.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.002515, allocations: 4.359 kB / 405.1 MB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.002535, allocations: 4.375 kB / 405.1 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.002618, allocations: 63.95 kB / 405.2 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.002624, allocations: 192 / 405.2 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.002629, allocations: 384 / 405.2 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.002634, allocations: 4.359 kB / 405.2 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.002659, allocations: 19.86 kB / 405.2 MB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.153e-05/0.00274, allocations: 68.98 kB / 405.3 MB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.624e-05/0.002797, allocations: 34.56 kB / 405.3 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.002812, allocations: 16.86 kB / 405.3 MB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.003017, allocations: 56.14 kB / 405.4 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.003036, allocations: 34.56 kB / 405.4 MB, free: 9.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.003037, allocations: 4 kB / 405.4 MB, free: 9.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007007/0.003737, allocations: 480.2 kB / 405.9 MB, free: 8.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.003759, allocations: 51.41 kB / 405.9 MB, free: 8.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/0.003799, allocations: 98.72 kB / 406 MB, free: 8.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.00381, allocations: 29.7 kB / 406.1 MB, free: 8.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.731e-05/0.003827, allocations: 80.14 kB / 406.1 MB, free: 8.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.003852, allocations: 27.73 kB / 406.2 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.003876, allocations: 21.7 kB / 406.2 MB, free: 8.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.003943, allocations: 326.9 kB / 406.5 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.003951, allocations: 4 kB / 406.5 MB, free: 7.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-06/0.00396, allocations: 4.094 kB / 406.5 MB, free: 7.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.003994, allocations: 36.91 kB / 406.6 MB, free: 7.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.003995, allocations: 0 / 406.6 MB, free: 7.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 4.486e-05/0.00404, allocations: 53.67 kB / 406.6 MB, free: 7.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.00405, allocations: 7.938 kB / 406.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004053, allocations: 0 / 406.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.004065, allocations: 0 / 406.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.004127, allocations: 16 kB / 406.6 MB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/0.004155, allocations: 0 / 406.6 MB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.004171, allocations: 11.94 kB / 406.6 MB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.004177, allocations: 3.984 kB / 406.6 MB, free: 7.789 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 (8): * Single equations (assignments): 8 * 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 5.837e-05/0.004236, allocations: 117.8 kB / 406.8 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.004244, allocations: 0 / 406.8 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.004352, allocations: 65.62 kB / 406.8 MB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.004354, allocations: 0 / 406.8 MB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.004355, allocations: 0 / 406.8 MB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004358, allocations: 0 / 406.8 MB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.536e-05/0.004433, allocations: 77.83 kB / 406.9 MB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004435, allocations: 8 kB / 406.9 MB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.004496, allocations: 15.94 kB / 406.9 MB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.004504, allocations: 3.984 kB / 406.9 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.004506, allocations: 0 / 406.9 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.004514, allocations: 4 kB / 406.9 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.004515, allocations: 192 / 406.9 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.004517, allocations: 4 kB / 406.9 MB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.004641, allocations: 97.05 kB / 407 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.004651, allocations: 0 / 407 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.004689, allocations: 7.984 kB / 407 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.004703, allocations: 4 kB / 407 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.004707, allocations: 4.031 kB / 407 MB, free: 7.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.524e-06/0.004714, allocations: 8.859 kB / 407.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004714, allocations: 0 / 407.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001143/0.004829, allocations: 35.86 kB / 407.1 MB, free: 7.293 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001251/0.004954, allocations: 116.3 kB / 407.2 MB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.246e-05/0.005016, allocations: 36.78 kB / 407.2 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.005021, allocations: 0 / 407.2 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.005051, allocations: 33.3 kB / 407.3 MB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.028e-05/0.005111, allocations: 12.03 kB / 407.3 MB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.005299, allocations: 136.7 kB / 407.4 MB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.503e-05/0.005324, allocations: 59.34 kB / 407.5 MB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.565e-05/0.00535, allocations: 15.91 kB / 407.5 MB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.005387, allocations: 59.38 kB / 407.5 MB, free: 6.77 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005387, allocations: 0 / 407.5 MB, free: 6.77 MB / 394.7 MB Notification: Performance of Templates: time 0.002096/0.007483, allocations: 0.9993 MB / 408.5 MB, free: 5.762 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1725914170965552]