Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001326/0.001326, allocations: 113.8 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.001687/0.001687, allocations: 219.6 kB / 23.04 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.003289/0.003289, allocations: 274.4 kB / 313.5 MB, free: 2.801 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.201/1.201, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002847/0.002847, allocations: 95.72 kB / 0.7404 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1824, allocations: 95.38 MB / 0.8335 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001703/0.1842, allocations: 0.6271 MB / 0.8341 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1861, allocations: 1.507 MB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.1862, allocations: 0 / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.1862, allocations: 3.938 kB / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.28e-05/0.1863, allocations: 0 / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.187, allocations: 219.5 kB / 0.8358 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.752e-05/0.187, allocations: 35.97 kB / 0.8359 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.1871, allocations: 8.281 kB / 0.8359 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.1871, allocations: 19.92 kB / 0.8359 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1872, allocations: 23.91 kB / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1872, allocations: 4 kB / 0.8359 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.1877, allocations: 279.5 kB / 0.8362 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.1877, allocations: 11.98 kB / 0.8362 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.1878, allocations: 15.88 kB / 0.8362 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1881, allocations: 219.4 kB / 0.8364 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1881, allocations: 4 kB / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1881, allocations: 4 kB / 0.8364 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1881, allocations: 3.938 kB / 0.8364 GB, free: 5.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004201/0.1885, allocations: 323.7 kB / 0.8367 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1886, allocations: 13.28 kB / 0.8368 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.53e-05/0.1886, allocations: 4.172 kB / 0.8368 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.1886, allocations: 34.75 kB / 0.8368 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1886, allocations: 4.891 kB / 0.8368 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1888, allocations: 118.5 kB / 0.8369 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1888, allocations: 4.375 kB / 0.8369 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1888, allocations: 4.375 kB / 0.8369 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.189, allocations: 73.59 kB / 0.837 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.189, allocations: 4 kB / 0.837 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.189, allocations: 0 / 0.837 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.189, allocations: 3.984 kB / 0.837 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.017e-05/0.1891, allocations: 39.91 kB / 0.837 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1892, allocations: 132.7 kB / 0.8372 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.1893, allocations: 54.55 kB / 0.8372 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.249e-05/0.1894, allocations: 44.86 kB / 0.8373 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.1894, allocations: 3.938 kB / 0.8373 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1894, allocations: 30.56 kB / 0.8373 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1894, allocations: 0 / 0.8373 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003285/0.1897, allocations: 191.4 kB / 0.8375 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.1898, allocations: 81.11 kB / 0.8376 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1899, allocations: 121.8 kB / 0.8377 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1899, allocations: 29.73 kB / 0.8377 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.1899, allocations: 84.14 kB / 0.8378 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.19, allocations: 19.8 kB / 0.8378 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.19, allocations: 25.7 kB / 0.8378 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1902, allocations: 314.8 kB / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.1902, allocations: 35.97 kB / 0.8382 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.1903, allocations: 35.97 kB / 0.8382 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1904, allocations: 144.2 kB / 0.8383 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1904, allocations: 7.969 kB / 0.8383 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001904/0.1906, allocations: 151.2 kB / 0.8385 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.1907, allocations: 40.34 kB / 0.8385 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1907, allocations: 4 kB / 0.8385 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1907, allocations: 0 / 0.8385 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1907, allocations: 0 / 0.8385 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1907, allocations: 0 / 0.8385 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1908, allocations: 11.88 kB / 0.8385 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1908, allocations: 11.98 kB / 0.8385 GB, free: 3.223 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001115/0.1909, allocations: 152.2 kB / 0.8387 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.1909, allocations: 7.938 kB / 0.8387 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.247e-05/0.191, allocations: 4.375 kB / 0.8387 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.191, allocations: 0 / 0.8387 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.191, allocations: 4 kB / 0.8387 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.191, allocations: 0 / 0.8387 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1911, allocations: 144.7 kB / 0.8388 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1911, allocations: 3.938 kB / 0.8388 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1911, allocations: 0 / 0.8388 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1911, allocations: 0 / 0.8388 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1911, allocations: 4 kB / 0.8388 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1911, allocations: 4 kB / 0.8389 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.1911, allocations: 4.562 kB / 0.8389 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1913, allocations: 194.8 kB / 0.839 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.1913, allocations: 11.89 kB / 0.8391 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1914, allocations: 4 kB / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.1914, allocations: 7.984 kB / 0.8391 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.1914, allocations: 4 kB / 0.8391 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1914, allocations: 8 kB / 0.8391 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.1915, allocations: 99.28 kB / 0.8392 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1915, allocations: 0 / 0.8392 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002929/0.1918, allocations: 71.86 kB / 0.8392 GB, free: 2.422 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007373/0.1925, allocations: 0.7896 MB / 0.84 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1928, allocations: 163.3 kB / 0.8402 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1928, allocations: 0 / 0.8402 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1929, allocations: 119.3 kB / 0.8403 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.193, allocations: 4 kB / 0.8403 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.1935, allocations: 222.4 kB / 0.8405 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1938, allocations: 0.6923 MB / 0.8412 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.769e-06/0.1938, allocations: 0 / 0.8412 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.1939, allocations: 15.38 kB / 0.8412 GB, free: 308 kB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.1939, allocations: 4.125 kB / 0.8412 GB, free: 304 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.2167, allocations: 3.286 MB / 0.8444 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.3, allocations: 1.5 kB / 0.8444 GB, free: 13.17 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.545004995947238] Failed to read output from testmodel.py, exit status != 0: 11.45775138004683 11.47448164 11.283331356 Calling exit ...