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.001306/0.001306, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001587/0.001587, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001743/0.001743, allocations: 232.9 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7465/0.7465, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.054e-06/2.054e-06, allocations: 0 / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.453e-05, allocations: 2.312 kB / 0.5552 GB, free: 452 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00127/0.001295, allocations: 0.6157 MB / 0.5558 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003169/0.001612, allocations: 151.5 kB / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.001635, allocations: 0 / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.001655, allocations: 3.938 kB / 0.5559 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.916e-05/0.001674, allocations: 0 / 0.5559 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.001942, allocations: 43.83 kB / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.001993, allocations: 15.92 kB / 0.556 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.002024, allocations: 0 / 0.556 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.00205, allocations: 12 kB / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.002108, allocations: 7.969 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.002123, allocations: 4 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.002186, allocations: 27.97 kB / 0.556 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.0022, allocations: 4 kB / 0.556 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.002216, allocations: 3.984 kB / 0.556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.036e-05/0.002306, allocations: 43.81 kB / 0.5561 GB, free: 15.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002308, allocations: 0 / 0.5561 GB, free: 15.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002308, allocations: 4 kB / 0.5561 GB, free: 15.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.002312, allocations: 0 / 0.5561 GB, free: 15.51 MB / 490.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.0003027/0.002614, allocations: 356.6 kB / 0.5564 GB, free: 15.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.002658, allocations: 8.75 kB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.002697, allocations: 8.891 kB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.342e-05/0.00278, allocations: 108.6 kB / 0.5565 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.002791, allocations: 4.375 kB / 0.5565 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.002811, allocations: 384 / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.121e-05/0.002902, allocations: 67.95 kB / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.002909, allocations: 192 / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.002917, allocations: 4.375 kB / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.002926, allocations: 8.359 kB / 0.5566 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.002955, allocations: 11.88 kB / 0.5566 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.00307, allocations: 124.7 kB / 0.5568 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.003163, allocations: 47.05 kB / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.003186, allocations: 11.69 kB / 0.5568 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.003251, allocations: 11.97 kB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.003272, allocations: 41.52 kB / 0.5569 GB, free: 14.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 6.92e-07/0.003273, allocations: 0 / 0.5569 GB, free: 14.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008463/0.004119, allocations: 418.5 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.004144, allocations: 59.34 kB / 0.5573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.004199, allocations: 149.9 kB / 0.5575 GB, free: 13.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.004211, allocations: 29.7 kB / 0.5575 GB, free: 13.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.004238, allocations: 130.9 kB / 0.5576 GB, free: 13.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.004264, allocations: 31.67 kB / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.004292, allocations: 27.38 kB / 0.5577 GB, free: 13.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006084/0.0049, allocations: 496.1 kB / 0.5581 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.004917, allocations: 8 kB / 0.5582 GB, free: 13.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.004934, allocations: 16.05 kB / 0.5582 GB, free: 13.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.004977, allocations: 31.75 kB / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.004978, allocations: 4 kB / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.825e-05/0.005046, allocations: 69.67 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.005057, allocations: 4 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005061, allocations: 0 / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.005075, allocations: 0 / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.005135, allocations: 15.98 kB / 0.5583 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.00514, allocations: 3.938 kB / 0.5583 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.005157, allocations: 8 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.005163, allocations: 0 / 0.5583 GB, free: 12.97 MB / 490.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.705e-05/0.00522, allocations: 160.5 kB / 0.5585 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.005229, allocations: 11.95 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.005341, allocations: 77.64 kB / 0.5585 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005342, allocations: 0 / 0.5585 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.005348, allocations: 7.922 kB / 0.5585 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.005351, allocations: 0 / 0.5585 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.556e-05/0.005417, allocations: 120.6 kB / 0.5587 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.005417, allocations: 0 / 0.5587 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.005467, allocations: 19.92 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005468, allocations: 0 / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.005475, allocations: 0 / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.005477, allocations: 4.188 kB / 0.5587 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005478, allocations: 4 kB / 0.5587 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.0056, allocations: 116.4 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.005606, allocations: 7.953 kB / 0.5588 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.005615, allocations: 0 / 0.5588 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.005636, allocations: 4 kB / 0.5588 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.005652, allocations: 7.984 kB / 0.5588 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.005657, allocations: 7.938 kB / 0.5588 GB, free: 12.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.971e-05/0.005687, allocations: 119.2 kB / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005687, allocations: 4.062 kB / 0.5589 GB, free: 12.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.005841, allocations: 39.88 kB / 0.559 GB, free: 12.2 MB / 490.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.0001339/0.005975, allocations: 131.2 kB / 0.5591 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.648e-05/0.006062, allocations: 40.05 kB / 0.5591 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006063, allocations: 4 kB / 0.5591 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/0.006086, allocations: 31.77 kB / 0.5592 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.006186, allocations: 9 kB / 0.5592 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.006413, allocations: 136.6 kB / 0.5593 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.924e-05/0.006442, allocations: 63.28 kB / 0.5594 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.218e-05/0.006465, allocations: 12 kB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.006482, allocations: 8.5 kB / 0.5594 GB, free: 11.72 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006483, allocations: 0 / 0.5594 GB, free: 11.72 MB / 490.7 MB Notification: Performance of Templates: time 0.002432/0.008915, allocations: 0.9908 MB / 0.5604 GB, free: 10.76 MB / 490.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.651039309799671]