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.001371/0.001371, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001416/0.001416, allocations: 211.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.002757/0.002757, allocations: 296.3 kB / 312.7 MB, free: 2.695 MB / 238.1 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 1.299/1.299, allocations: 180.6 MB / 0.5369 GB, free: 14.47 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002989/0.002989, allocations: 109.5 kB / 0.74 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1717, allocations: 95.38 MB / 0.8332 GB, free: 7.797 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001756/0.1735, allocations: 0.6075 MB / 0.8338 GB, free: 7.188 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.1739, allocations: 155.9 kB / 0.8339 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.174, allocations: 0 / 0.8339 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.174, allocations: 0 / 0.8339 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 1.932e-05/0.174, allocations: 4 kB / 0.8339 GB, free: 7.031 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1743, allocations: 43.75 kB / 0.834 GB, free: 6.988 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.1743, allocations: 11.98 kB / 0.834 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1744, allocations: 4 kB / 0.834 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.1744, allocations: 15.92 kB / 0.834 GB, free: 6.957 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.1745, allocations: 3.938 kB / 0.834 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1745, allocations: 4 kB / 0.834 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.1745, allocations: 27.95 kB / 0.834 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.1746, allocations: 11.98 kB / 0.834 GB, free: 6.91 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.1746, allocations: 3.938 kB / 0.834 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.1747, allocations: 39.83 kB / 0.8341 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1747, allocations: 0 / 0.8341 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1747, allocations: 0 / 0.8341 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1747, allocations: 0 / 0.8341 GB, free: 6.867 MB / 0.5763 GB 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.0004059/0.1751, allocations: 262.3 kB / 0.8343 GB, free: 6.578 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1751, allocations: 8.75 kB / 0.8343 GB, free: 6.57 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1752, allocations: 8.922 kB / 0.8343 GB, free: 6.562 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1753, allocations: 106.5 kB / 0.8344 GB, free: 6.434 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1753, allocations: 384 / 0.8344 GB, free: 6.434 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1753, allocations: 4.375 kB / 0.8344 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1754, allocations: 71.95 kB / 0.8345 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1754, allocations: 192 / 0.8345 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1755, allocations: 7.938 kB / 0.8345 GB, free: 6.34 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1755, allocations: 0 / 0.8345 GB, free: 6.34 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/0.1755, allocations: 11.98 kB / 0.8345 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1757, allocations: 109.3 kB / 0.8346 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.1758, allocations: 46.56 kB / 0.8347 GB, free: 6.137 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.1758, allocations: 20.97 kB / 0.8347 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.1759, allocations: 0 / 0.8347 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1759, allocations: 38.56 kB / 0.8347 GB, free: 6.066 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1759, allocations: 4 kB / 0.8347 GB, free: 6.062 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7): time 0.001298/0.1772, allocations: 418.9 kB / 0.8351 GB, free: 5.598 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1772, allocations: 51.41 kB / 0.8352 GB, free: 5.535 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.1773, allocations: 93.86 kB / 0.8353 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1773, allocations: 25.7 kB / 0.8353 GB, free: 5.402 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.1774, allocations: 84.08 kB / 0.8354 GB, free: 5.316 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.1774, allocations: 23.8 kB / 0.8354 GB, free: 5.293 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1774, allocations: 21.7 kB / 0.8354 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1776, allocations: 318.8 kB / 0.8357 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.151e-05/0.1776, allocations: 12.11 kB / 0.8357 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.1777, allocations: 16 kB / 0.8358 GB, free: 4.918 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.359e-05/0.1777, allocations: 40.78 kB / 0.8358 GB, free: 4.875 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1777, allocations: 0 / 0.8358 GB, free: 4.875 MB / 0.5763 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001163/0.1779, allocations: 69.64 kB / 0.8359 GB, free: 4.801 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1779, allocations: 8 kB / 0.8359 GB, free: 4.793 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1779, allocations: 3.938 kB / 0.8359 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1779, allocations: 0 / 0.8359 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.178, allocations: 15.94 kB / 0.8359 GB, free: 4.773 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.178, allocations: 320 / 0.8359 GB, free: 4.773 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.178, allocations: 448 / 0.8359 GB, free: 4.773 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.178, allocations: 15.92 kB / 0.8359 GB, free: 4.758 MB / 0.5763 GB 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 9.338e-05/0.1781, allocations: 110.5 kB / 0.836 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1781, allocations: 4 kB / 0.836 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.1783, allocations: 93.42 kB / 0.8361 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1783, allocations: 4 kB / 0.8361 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1783, allocations: 4 kB / 0.8361 GB, free: 4.527 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1783, allocations: 0 / 0.8361 GB, free: 4.527 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.1784, allocations: 109.3 kB / 0.8362 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1784, allocations: 0 / 0.8362 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-05/0.1785, allocations: 8 kB / 0.8362 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1785, allocations: 11.98 kB / 0.8362 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1785, allocations: 0 / 0.8362 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1785, allocations: 3.938 kB / 0.8362 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1785, allocations: 0 / 0.8362 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1787, allocations: 125 kB / 0.8364 GB, free: 4.227 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.1788, allocations: 3.984 kB / 0.8364 GB, free: 4.223 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1788, allocations: 0 / 0.8364 GB, free: 4.223 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.1788, allocations: 7.969 kB / 0.8364 GB, free: 4.215 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.1788, allocations: 4 kB / 0.8364 GB, free: 4.211 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1788, allocations: 7.984 kB / 0.8364 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.1789, allocations: 79.34 kB / 0.8365 GB, free: 4.125 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1789, allocations: 0 / 0.8365 GB, free: 4.125 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002269/0.1791, allocations: 27.94 kB / 0.8365 GB, free: 4.098 MB / 0.5763 GB 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.0002252/0.1793, allocations: 127.2 kB / 0.8366 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1795, allocations: 43.91 kB / 0.8367 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1795, allocations: 3.938 kB / 0.8367 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.1795, allocations: 15.98 kB / 0.8367 GB, free: 3.902 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.1796, allocations: 8 kB / 0.8367 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.18, allocations: 134.8 kB / 0.8368 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.18, allocations: 67.34 kB / 0.8369 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.1801, allocations: 7.984 kB / 0.8369 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.1801, allocations: 7.438 kB / 0.8369 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of SimCode: time 3.41e-07/0.1801, allocations: 4 kB / 0.8369 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of Templates: time 0.00378/0.1839, allocations: 0.8829 MB / 0.8378 GB, free: 2.801 MB / 0.5763 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.105045247823] Failed to read output from testmodel.py, exit status != 0: 0.19180096685886383 0.207472865 0.029697953000000003 Calling exit ...