Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007272/0.0007272, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002136, allocations: 440 kB / 10.41 MB, free: 284 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.0007853/0.0007853, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001819, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0736/1.079, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001263/0.001263, allocations: 234 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009492/0.002212, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6689/0.6689, allocations: 138.7 MB / 384.3 MB, free: 376 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07004/0.7389, allocations: 42.4 MB / 426.7 MB, free: 5.84 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 428.1 MB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.22e-05, allocations: 2.312 kB / 428.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001043/0.001055, allocations: 0.6703 MB / 428.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001869/0.001242, allocations: 159.4 kB / 428.9 MB, free: 3.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.001256, allocations: 0 / 428.9 MB, free: 3.594 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.546e-06/0.00126, allocations: 0 / 428.9 MB, free: 3.594 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.001266, allocations: 3.938 kB / 429 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.001401, allocations: 35.83 kB / 429 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.321e-05/0.001444, allocations: 12 kB / 429 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.958e-05/0.001474, allocations: 0 / 429 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.996e-05/0.001514, allocations: 11.98 kB / 429 MB, free: 3.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.001574, allocations: 11.97 kB / 429 MB, free: 3.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.001587, allocations: 7.938 kB / 429 MB, free: 3.512 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.001671, allocations: 35.97 kB / 429.1 MB, free: 3.477 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.001682, allocations: 0 / 429.1 MB, free: 3.477 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.17e-05/0.001694, allocations: 4 kB / 429.1 MB, free: 3.473 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.272e-05/0.001776, allocations: 27.91 kB / 429.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.001786, allocations: 0 / 429.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.001787, allocations: 0 / 429.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.001797, allocations: 3.938 kB / 429.1 MB, free: 3.441 MB / 410.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.0002816/0.002079, allocations: 236.6 kB / 429.3 MB, free: 3.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.002106, allocations: 11.98 kB / 429.3 MB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.002131, allocations: 8.938 kB / 429.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.375e-05/0.002205, allocations: 121.7 kB / 429.5 MB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.002214, allocations: 384 / 429.5 MB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.002238, allocations: 8.328 kB / 429.5 MB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/0.00232, allocations: 67.95 kB / 429.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.002327, allocations: 192 / 429.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.002333, allocations: 384 / 429.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.002339, allocations: 384 / 429.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.002363, allocations: 15.92 kB / 429.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.709e-05/0.00245, allocations: 61.05 kB / 429.6 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.277e-05/0.002522, allocations: 46.48 kB / 429.7 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.00254, allocations: 12.86 kB / 429.7 MB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.00281, allocations: 60.14 kB / 429.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.002837, allocations: 42.55 kB / 429.8 MB, free: 2.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.002838, allocations: 0 / 429.8 MB, free: 2.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007343/0.003572, allocations: 476.2 kB / 430.2 MB, free: 2.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.003595, allocations: 55.41 kB / 430.3 MB, free: 2.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.111e-05/0.003636, allocations: 98.7 kB / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.003647, allocations: 25.7 kB / 430.4 MB, free: 1.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.003669, allocations: 88.14 kB / 430.5 MB, free: 1.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.003693, allocations: 19.78 kB / 430.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.00372, allocations: 29.83 kB / 430.6 MB, free: 1.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.003792, allocations: 318.8 kB / 430.9 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.003801, allocations: 4 kB / 430.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.003811, allocations: 8 kB / 430.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.003841, allocations: 24.83 kB / 430.9 MB, free: 1.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.003842, allocations: 0 / 430.9 MB, free: 1.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 4.931e-05/0.003891, allocations: 57.61 kB / 431 MB, free: 1.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.003903, allocations: 4 kB / 431 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.003907, allocations: 4 kB / 431 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.00392, allocations: 0 / 431 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.003969, allocations: 19.92 kB / 431 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.003972, allocations: 4 kB / 431 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.003985, allocations: 7.938 kB / 431 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.00399, allocations: 4 kB / 431 MB, free: 1.309 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 (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 4.216e-05/0.004032, allocations: 105.8 kB / 431.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.004041, allocations: 8 kB / 431.1 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.004119, allocations: 61.58 kB / 431.2 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.004121, allocations: 4 kB / 431.2 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.004122, allocations: 0 / 431.2 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.004127, allocations: 3.984 kB / 431.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.923e-05/0.004186, allocations: 81.83 kB / 431.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.004186, allocations: 0 / 431.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.004226, allocations: 15.98 kB / 431.3 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.004231, allocations: 7.953 kB / 431.3 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.004233, allocations: 0 / 431.3 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.004238, allocations: 3.984 kB / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004239, allocations: 0 / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.004239, allocations: 0 / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.662e-05/0.004326, allocations: 96.97 kB / 431.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.004336, allocations: 7.984 kB / 431.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.00435, allocations: 0 / 431.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.004361, allocations: 8.031 kB / 431.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.004365, allocations: 4 kB / 431.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.925e-06/0.004373, allocations: 8.844 kB / 431.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004373, allocations: 0 / 431.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001194/0.004493, allocations: 27.94 kB / 431.4 MB, free: 0.8203 MB / 410.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.0001236/0.004616, allocations: 116.3 kB / 431.6 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.004684, allocations: 49.16 kB / 431.6 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.004688, allocations: 0 / 431.6 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.004711, allocations: 24.94 kB / 431.6 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.958e-05/0.004771, allocations: 20.11 kB / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.004954, allocations: 127.1 kB / 431.8 MB, free: 460 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.682e-05/0.00498, allocations: 59.34 kB / 431.8 MB, free: 380 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.005004, allocations: 4 kB / 431.8 MB, free: 376 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.005043, allocations: 63.36 kB / 431.9 MB, free: 312 kB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005044, allocations: 0 / 431.9 MB, free: 312 kB / 410.7 MB Notification: Performance of Templates: time 0.1568/0.1619, allocations: 0.9886 MB / 432.9 MB, free: 3.117 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.242911148816347]