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.001402/0.001402, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001521/0.001521, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9834/0.9834, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.00508/0.00508, allocations: 242.8 kB / 260.5 MB, free: 12.85 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.7556/0.7556, allocations: 138.4 MB / 455.4 MB, free: 1.523 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.034e-06/2.034e-06, allocations: 0 / 0.5551 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.057e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002258/0.002289, allocations: 0.6196 MB / 0.5557 GB, free: 184 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004436/0.002732, allocations: 151.5 kB / 0.5558 GB, free: 32 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.002779, allocations: 0 / 0.5558 GB, free: 32 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.0028, allocations: 3.938 kB / 0.5558 GB, free: 28 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.327e-05/0.002823, allocations: 4 kB / 0.5559 GB, free: 24 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.003225, allocations: 39.88 kB / 0.5559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.003292, allocations: 11.94 kB / 0.5559 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.003342, allocations: 8 kB / 0.5559 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.003384, allocations: 11.97 kB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.003476, allocations: 3.938 kB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.0035, allocations: 4 kB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.003598, allocations: 31.95 kB / 0.556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.003614, allocations: 4 kB / 0.556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.003636, allocations: 3.984 kB / 0.556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.003769, allocations: 43.88 kB / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003772, allocations: 0 / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003774, allocations: 0 / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.003778, allocations: 0 / 0.556 GB, free: 15.86 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.0004249/0.004203, allocations: 356.6 kB / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.00425, allocations: 8.75 kB / 0.5564 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.004308, allocations: 12.89 kB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004419, allocations: 112.6 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004432, allocations: 4.312 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.004457, allocations: 384 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.004588, allocations: 67.95 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.004597, allocations: 4.188 kB / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.004608, allocations: 384 / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.004619, allocations: 8.312 kB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.132e-05/0.00467, allocations: 15.92 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.00484, allocations: 116.6 kB / 0.5567 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.004958, allocations: 47.11 kB / 0.5567 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.004993, allocations: 15.67 kB / 0.5567 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.513e-05/0.005078, allocations: 4.125 kB / 0.5567 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.005114, allocations: 41.39 kB / 0.5568 GB, free: 14.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.005115, allocations: 7.938 kB / 0.5568 GB, free: 14.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001283/0.006398, allocations: 410.5 kB / 0.5572 GB, free: 14.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.006437, allocations: 59.33 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.006527, allocations: 149.9 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.006542, allocations: 29.7 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.00659, allocations: 130.9 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.006626, allocations: 23.75 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.006675, allocations: 31.36 kB / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.006823, allocations: 492.1 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.006854, allocations: 11.98 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.00688, allocations: 16.06 kB / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.00695, allocations: 31.67 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.006953, allocations: 3.984 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001253/0.007078, allocations: 65.69 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.007093, allocations: 4 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.007098, allocations: 0 / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.007114, allocations: 0 / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.0072, allocations: 12 kB / 0.5582 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.00721, allocations: 7.875 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.007232, allocations: 8 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.007239, allocations: 0 / 0.5582 GB, free: 13.34 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 8.532e-05/0.007325, allocations: 168.6 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.007342, allocations: 7.891 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.007523, allocations: 81.94 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007526, allocations: 0 / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.00753, allocations: 3.938 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.007535, allocations: 3.984 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.007643, allocations: 124.6 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.007645, allocations: 0 / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.007725, allocations: 15.94 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007728, allocations: 4.188 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.007739, allocations: 4 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.007741, allocations: 0 / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.007743, allocations: 0 / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.007935, allocations: 116.4 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.007945, allocations: 7.953 kB / 0.5587 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.007961, allocations: 3.984 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.007999, allocations: 8 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.008019, allocations: 0 / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.008028, allocations: 11.88 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.008075, allocations: 127.2 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008075, allocations: 0 / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.008356, allocations: 31.94 kB / 0.5589 GB, free: 12.56 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.0002215/0.008577, allocations: 131.2 kB / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.008697, allocations: 39.67 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008699, allocations: 0 / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.008738, allocations: 31.61 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.008913, allocations: 4 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.009267, allocations: 140.9 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.009318, allocations: 63.3 kB / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.854e-05/0.009366, allocations: 7.984 kB / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.009398, allocations: 8.5 kB / 0.5593 GB, free: 12.08 MB / 490.7 MB Notification: Performance of SimCode: time 9.31e-07/0.009399, allocations: 4 kB / 0.5593 GB, free: 12.07 MB / 490.7 MB Notification: Performance of Templates: time 0.003152/0.01255, allocations: 0.922 MB / 0.5602 GB, free: 11.2 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.694030380109325]