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.001692/0.001692, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002166/0.002166, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.003614/0.003614, allocations: 291.2 kB / 313.5 MB, free: 2.816 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.251/1.251, allocations: 180.6 MB / 0.5377 GB, free: 13 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.002824/0.002824, allocations: 106.9 kB / 0.7404 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1807, allocations: 95.39 MB / 0.8335 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001691/0.1824, allocations: 0.6017 MB / 0.8341 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.1828, allocations: 163.9 kB / 0.8343 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.1829, allocations: 4 kB / 0.8343 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.1829, allocations: 3.938 kB / 0.8343 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.195e-05/0.1829, allocations: 0 / 0.8343 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1832, allocations: 40.77 kB / 0.8343 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.1833, allocations: 15.98 kB / 0.8344 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1833, allocations: 4 kB / 0.8344 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.1833, allocations: 7.922 kB / 0.8344 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.1834, allocations: 15.92 kB / 0.8344 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1834, allocations: 3.938 kB / 0.8344 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.1835, allocations: 31.97 kB / 0.8344 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1835, allocations: 4 kB / 0.8344 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1836, allocations: 15.91 kB / 0.8344 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1837, allocations: 28.12 kB / 0.8345 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1837, allocations: 8 kB / 0.8345 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1837, allocations: 0 / 0.8345 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.1837, allocations: 0 / 0.8345 GB, free: 7.668 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003739/0.184, allocations: 250.3 kB / 0.8347 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1841, allocations: 13.34 kB / 0.8347 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.1841, allocations: 192 / 0.8347 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.1841, allocations: 34.75 kB / 0.8347 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1842, allocations: 4.938 kB / 0.8348 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1843, allocations: 110.5 kB / 0.8349 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1843, allocations: 8.375 kB / 0.8349 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1843, allocations: 384 / 0.8349 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1844, allocations: 46 kB / 0.8349 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1844, allocations: 3.938 kB / 0.8349 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1844, allocations: 4 kB / 0.8349 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1844, allocations: 0 / 0.8349 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.1845, allocations: 11.98 kB / 0.8349 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1847, allocations: 140.8 kB / 0.8351 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.1848, allocations: 46.56 kB / 0.8351 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.1848, allocations: 16.98 kB / 0.8351 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.1849, allocations: 7.984 kB / 0.8351 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1849, allocations: 42.44 kB / 0.8352 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1849, allocations: 0 / 0.8352 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001213/0.1861, allocations: 403 kB / 0.8356 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1862, allocations: 55.41 kB / 0.8356 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.1862, allocations: 93.86 kB / 0.8357 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1863, allocations: 25.7 kB / 0.8357 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.1863, allocations: 84.14 kB / 0.8358 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1863, allocations: 23.78 kB / 0.8358 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1864, allocations: 21.72 kB / 0.8358 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1865, allocations: 318.8 kB / 0.8362 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.1865, allocations: 20.05 kB / 0.8362 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.1866, allocations: 15.98 kB / 0.8362 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.1866, allocations: 41.02 kB / 0.8362 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1866, allocations: 0 / 0.8362 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001107/0.1867, allocations: 73.58 kB / 0.8363 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1868, allocations: 4 kB / 0.8363 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1868, allocations: 0 / 0.8363 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1868, allocations: 4 kB / 0.8363 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.1869, allocations: 12.42 kB / 0.8363 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1869, allocations: 7.938 kB / 0.8363 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.1869, allocations: 4 kB / 0.8363 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1869, allocations: 4 kB / 0.8363 GB, free: 5.512 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 (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.63e-05/0.187, allocations: 118.4 kB / 0.8364 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.187, allocations: 3.938 kB / 0.8364 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.1872, allocations: 81.58 kB / 0.8365 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1872, allocations: 0 / 0.8365 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1872, allocations: 0 / 0.8365 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1872, allocations: 3.984 kB / 0.8365 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1873, allocations: 136.7 kB / 0.8367 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1873, allocations: 3.938 kB / 0.8367 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.918e-05/0.1874, allocations: 19.94 kB / 0.8367 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1874, allocations: 0 / 0.8367 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1874, allocations: 7.984 kB / 0.8367 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1874, allocations: 0 / 0.8367 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1874, allocations: 0 / 0.8367 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1876, allocations: 109.1 kB / 0.8368 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.1876, allocations: 20.02 kB / 0.8368 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1876, allocations: 0 / 0.8368 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.1876, allocations: 0 / 0.8368 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.1877, allocations: 7.984 kB / 0.8368 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.1877, allocations: 4 kB / 0.8368 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.1877, allocations: 79.28 kB / 0.8369 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1877, allocations: 0 / 0.8369 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002144/0.1879, allocations: 27.94 kB / 0.8369 GB, free: 4.82 MB / 0.5762 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.0005614/0.1885, allocations: 0.6865 MB / 0.8376 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.1886, allocations: 44.22 kB / 0.8376 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1886, allocations: 0 / 0.8376 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.1886, allocations: 19.98 kB / 0.8377 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.1888, allocations: 8 kB / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1899, allocations: 1.196 MB / 0.8388 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1903, allocations: 0.6846 MB / 0.8395 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.1903, allocations: 11.92 kB / 0.8395 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.1903, allocations: 15.44 kB / 0.8395 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1903, allocations: 0 / 0.8395 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2134, allocations: 1.987 MB / 0.8415 GB, free: 224 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.99, allocations: 6.266 kB / 0.8415 GB, free: 220 kB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.357157527003437] Failed to read output from testmodel.py, exit status != 0: 11.15495001198724 11.171107994 10.984511478 Calling exit ...