Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.001356/0.001356, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001675/0.001675, allocations: 216 kB / 22.25 MB, free: 5.254 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.793 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.002636/0.002636, allocations: 288.7 kB / 312.7 MB, free: 2.598 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.271/1.271, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [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.002964/0.002964, allocations: 113.6 kB / 0.74 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1778, allocations: 95.37 MB / 0.8331 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002568/0.1804, allocations: 1.47 MB / 0.8346 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.1808, allocations: 180.3 kB / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.1808, allocations: 0 / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.1808, allocations: 7.922 kB / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.1809, allocations: 0 / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1811, allocations: 47.73 kB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.218e-05/0.1812, allocations: 20 kB / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.574e-05/0.1812, allocations: 3.984 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.1813, allocations: 11.94 kB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.1813, allocations: 11.98 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1813, allocations: 4 kB / 0.8348 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.1814, allocations: 31.97 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1814, allocations: 7.922 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.1814, allocations: 15.92 kB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1815, allocations: 35.83 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1816, allocations: 4 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1816, allocations: 0 / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1816, allocations: 0 / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004037/0.182, allocations: 266.3 kB / 0.8352 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.182, allocations: 13.34 kB / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.182, allocations: 4.891 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.1821, allocations: 114.5 kB / 0.8353 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1821, allocations: 384 / 0.8353 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1821, allocations: 4.375 kB / 0.8353 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1823, allocations: 50.23 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1823, allocations: 192 / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1823, allocations: 7.938 kB / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.1823, allocations: 0 / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1825, allocations: 43.89 kB / 0.8354 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.1828, allocations: 192.6 kB / 0.8356 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1829, allocations: 34.56 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.183, allocations: 20.84 kB / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.183, allocations: 7.938 kB / 0.8357 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1831, allocations: 38.55 kB / 0.8357 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1831, allocations: 4 kB / 0.8357 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003312/0.1834, allocations: 81.55 kB / 0.8358 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1834, allocations: 59.39 kB / 0.8358 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.1835, allocations: 101.9 kB / 0.8359 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1835, allocations: 25.7 kB / 0.836 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1836, allocations: 89.81 kB / 0.836 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.1836, allocations: 11.88 kB / 0.8361 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1836, allocations: 13.72 kB / 0.8361 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1838, allocations: 314.8 kB / 0.8364 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.1839, allocations: 16.11 kB / 0.8364 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.1839, allocations: 19.98 kB / 0.8364 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1841, allocations: 40.75 kB / 0.8364 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1841, allocations: 4 kB / 0.8364 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.1843, allocations: 69.66 kB / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1843, allocations: 8 kB / 0.8365 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.1843, allocations: 0 / 0.8365 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1843, allocations: 0 / 0.8365 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.1844, allocations: 7.984 kB / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1844, allocations: 4 kB / 0.8365 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.1844, allocations: 3.984 kB / 0.8365 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.1845, allocations: 4 kB / 0.8365 GB, free: 4.156 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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 7.388e-05/0.1845, allocations: 110.5 kB / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1846, allocations: 11.89 kB / 0.8367 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1848, allocations: 80.92 kB / 0.8367 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1848, allocations: 0 / 0.8367 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1848, allocations: 0 / 0.8367 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1848, allocations: 4 kB / 0.8367 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1849, allocations: 97.33 kB / 0.8368 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1849, allocations: 3.984 kB / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.185, allocations: 4 kB / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.185, allocations: 7.938 kB / 0.8368 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.185, allocations: 8.031 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.185, allocations: 3.938 kB / 0.8369 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.185, allocations: 0 / 0.8369 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1852, allocations: 159.5 kB / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.1852, allocations: 7.922 kB / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1853, allocations: 4 kB / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1853, allocations: 8 kB / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.1854, allocations: 3.984 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1854, allocations: 4.031 kB / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.1854, allocations: 83.53 kB / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1854, allocations: 0 / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002272/0.1856, allocations: 15.94 kB / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001542/0.1858, allocations: 111.2 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.186, allocations: 31.97 kB / 0.8373 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.186, allocations: 0 / 0.8373 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.1861, allocations: 23.98 kB / 0.8373 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1863, allocations: 14.67 kB / 0.8373 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.1866, allocations: 101.6 kB / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.467e-05/0.1866, allocations: 59.34 kB / 0.8375 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.1867, allocations: 3.984 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.1867, allocations: 11.44 kB / 0.8375 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.1867, allocations: 0 / 0.8375 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.002807/0.1895, allocations: 0.6127 MB / 0.8381 GB, free: 2.473 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0103822238743305] Failed to read output from testmodel.py, exit status != 0: 0.19637378491461277 0.211638719 0.027125628000000002 Calling exit ...