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.0008471/0.0008471, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002112, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007978/0.0007978, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001854, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9965/0.9965, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08373/1.08, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001381/0.001381, allocations: 241.4 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002572, allocations: 463.5 kB / 244.7 MB, free: 14.17 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.7029/0.7029, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06877/0.7716, allocations: 42.4 MB / 426.5 MB, free: 5.953 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 2.014e-06/2.014e-06, allocations: 0 / 427.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.125e-05, allocations: 2.312 kB / 427.9 MB, free: 4.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0015/0.001521, allocations: 0.6586 MB / 428.5 MB, free: 3.898 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.001753, allocations: 159.3 kB / 428.7 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.001768, allocations: 3.938 kB / 428.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.641e-06/0.001773, allocations: 0 / 428.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.137e-06/0.001783, allocations: 0 / 428.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.001945, allocations: 35.91 kB / 428.7 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.468e-05/0.00199, allocations: 11.97 kB / 428.7 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.002025, allocations: 4 kB / 428.7 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.002067, allocations: 15.92 kB / 428.7 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.002129, allocations: 4 kB / 428.8 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.002141, allocations: 0 / 428.8 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.00223, allocations: 43.94 kB / 428.8 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.002246, allocations: 4 kB / 428.8 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.093e-05/0.002257, allocations: 0 / 428.8 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.542e-05/0.002342, allocations: 31.8 kB / 428.8 MB, free: 3.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.509e-05/0.002357, allocations: 0 / 428.8 MB, free: 3.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.002358, allocations: 4 kB / 428.8 MB, free: 3.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.002375, allocations: 0 / 428.8 MB, free: 3.586 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.0003329/0.002708, allocations: 244.6 kB / 429.1 MB, free: 3.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.00274, allocations: 11.98 kB / 429.1 MB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.002769, allocations: 4.938 kB / 429.1 MB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.002844, allocations: 101.8 kB / 429.2 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.002855, allocations: 4.375 kB / 429.2 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.002878, allocations: 8.328 kB / 429.2 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.002964, allocations: 67.94 kB / 429.3 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.002971, allocations: 192 / 429.3 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.002979, allocations: 12.31 kB / 429.3 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.002985, allocations: 384 / 429.3 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.003013, allocations: 7.938 kB / 429.3 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.791e-05/0.003101, allocations: 65.03 kB / 429.3 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.003168, allocations: 42.61 kB / 429.4 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.003184, allocations: 12.84 kB / 429.4 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.003413, allocations: 63.95 kB / 429.5 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.003434, allocations: 34.69 kB / 429.5 MB, free: 2.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.003435, allocations: 0 / 429.5 MB, free: 2.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000695/0.00413, allocations: 480.2 kB / 430 MB, free: 2.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.004157, allocations: 55.41 kB / 430 MB, free: 2.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.004208, allocations: 98.72 kB / 430.1 MB, free: 2.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.004218, allocations: 25.7 kB / 430.1 MB, free: 2.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.004237, allocations: 84.14 kB / 430.2 MB, free: 1.984 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.004261, allocations: 23.78 kB / 430.2 MB, free: 1.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.004287, allocations: 25.7 kB / 430.3 MB, free: 1.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.004355, allocations: 322.7 kB / 430.6 MB, free: 1.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.004365, allocations: 7.984 kB / 430.6 MB, free: 1.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.004375, allocations: 8 kB / 430.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.004406, allocations: 24.78 kB / 430.6 MB, free: 1.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.004407, allocations: 0 / 430.6 MB, free: 1.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 4.875e-05/0.004455, allocations: 57.8 kB / 430.7 MB, free: 1.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.004465, allocations: 4 kB / 430.7 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.004469, allocations: 4 kB / 430.7 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.004477, allocations: 0 / 430.7 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.004528, allocations: 15.98 kB / 430.7 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.00453, allocations: 0 / 430.7 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.004542, allocations: 3.938 kB / 430.7 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.004547, allocations: 11.94 kB / 430.7 MB, free: 1.461 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.348e-05/0.004591, allocations: 105.8 kB / 430.8 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.004599, allocations: 7.984 kB / 430.8 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.882e-05/0.004678, allocations: 65.64 kB / 430.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.004679, allocations: 4 kB / 430.9 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004681, allocations: 0 / 430.9 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.004684, allocations: 0 / 430.9 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.926e-05/0.004743, allocations: 77.81 kB / 431 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004744, allocations: 0 / 431 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.004786, allocations: 15.94 kB / 431 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.004792, allocations: 7.953 kB / 431 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.004794, allocations: 0 / 431 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.004802, allocations: 7.984 kB / 431 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.004802, allocations: 0 / 431 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.004803, allocations: 4.188 kB / 431 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.634e-05/0.00489, allocations: 89.05 kB / 431.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.0049, allocations: 8 kB / 431.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.004914, allocations: 0 / 431.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.004927, allocations: 7.984 kB / 431.1 MB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.00493, allocations: 0 / 431.1 MB, free: 1.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.167e-06/0.00494, allocations: 12.78 kB / 431.1 MB, free: 1.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00494, allocations: 0 / 431.1 MB, free: 1.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001173/0.005057, allocations: 35.92 kB / 431.2 MB, free: 0.9688 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.0001427/0.0052, allocations: 120.4 kB / 431.3 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.675e-05/0.005266, allocations: 41.28 kB / 431.3 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.005271, allocations: 0 / 431.3 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.005289, allocations: 24.78 kB / 431.3 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.81e-05/0.005347, allocations: 7.938 kB / 431.4 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.005549, allocations: 139.1 kB / 431.5 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.005578, allocations: 55.36 kB / 431.5 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.005604, allocations: 8 kB / 431.6 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.005643, allocations: 59.36 kB / 431.6 MB, free: 472 kB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.005643, allocations: 0 / 431.6 MB, free: 472 kB / 410.7 MB Notification: Performance of Templates: time 0.163/0.1686, allocations: 0.983 MB / 432.6 MB, free: 3.34 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.4138348512351513]