Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.001317/0.001317, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001739/0.001739, allocations: 215.1 kB / 22.25 MB, free: 5.234 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.383/1.383, 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.002449/0.002449, allocations: 292.8 kB / 312.7 MB, free: 2.594 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.162/1.162, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",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.002798/0.002798, allocations: 103.5 kB / 0.7395 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.176, allocations: 95.37 MB / 0.8327 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002727/0.1787, allocations: 1.521 MB / 0.8342 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.18, allocations: 0.7145 MB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.18, allocations: 0 / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1803, allocations: 131.8 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1804, allocations: 71.83 kB / 0.8351 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.181, allocations: 183.8 kB / 0.8352 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1811, allocations: 67.81 kB / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.1811, allocations: 7.938 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.1812, allocations: 39.88 kB / 0.8353 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1813, allocations: 91.77 kB / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1813, allocations: 0 / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.1817, allocations: 243.6 kB / 0.8357 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.1818, allocations: 63.81 kB / 0.8357 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.1819, allocations: 43.61 kB / 0.8358 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1822, allocations: 271 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1822, allocations: 4 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1822, allocations: 0 / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.525e-06/0.1822, allocations: 4 kB / 0.836 GB, free: 4.816 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.0006846/0.1829, allocations: 444.8 kB / 0.8365 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.183, allocations: 9.938 kB / 0.8365 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.183, allocations: 30.75 kB / 0.8365 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.183, allocations: 24.75 kB / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1833, allocations: 202.7 kB / 0.8367 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1833, allocations: 8.359 kB / 0.8367 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1833, allocations: 4.375 kB / 0.8367 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1835, allocations: 77.78 kB / 0.8368 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1835, allocations: 4 kB / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1835, allocations: 7.922 kB / 0.8368 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1835, allocations: 4 kB / 0.8368 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1837, allocations: 87.86 kB / 0.8369 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.1843, allocations: 363.8 kB / 0.8372 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1845, allocations: 86.53 kB / 0.8373 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1846, allocations: 48.89 kB / 0.8374 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.1846, allocations: 19.98 kB / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1846, allocations: 34.55 kB / 0.8374 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1846, allocations: 0 / 0.8374 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004246/0.1851, allocations: 177.4 kB / 0.8376 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1851, allocations: 55.41 kB / 0.8376 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.1855, allocations: 356.4 kB / 0.838 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1855, allocations: 33.81 kB / 0.838 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.1856, allocations: 136.1 kB / 0.8381 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.1856, allocations: 3.953 kB / 0.8382 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1857, allocations: 29.7 kB / 0.8382 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1858, allocations: 342.8 kB / 0.8385 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.186, allocations: 95.94 kB / 0.8386 GB, free: 2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1861, allocations: 91.95 kB / 0.8387 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.1864, allocations: 211.3 kB / 0.8389 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1864, allocations: 0 / 0.8389 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003848/0.1868, allocations: 257.3 kB / 0.8391 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1868, allocations: 4 kB / 0.8391 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1868, allocations: 0 / 0.8391 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1869, allocations: 0 / 0.8391 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.1869, allocations: 11.98 kB / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1869, allocations: 0 / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.187, allocations: 15.88 kB / 0.8392 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.187, allocations: 12 kB / 0.8392 GB, free: 1.402 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 0.0001227/0.1871, allocations: 142.4 kB / 0.8393 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.1872, allocations: 23.86 kB / 0.8393 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.1875, allocations: 142.6 kB / 0.8395 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1875, allocations: 0 / 0.8395 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1875, allocations: 0 / 0.8395 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.1875, allocations: 4 kB / 0.8395 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1877, allocations: 212.6 kB / 0.8397 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1877, allocations: 4.031 kB / 0.8397 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.1878, allocations: 11.98 kB / 0.8397 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1878, allocations: 3.938 kB / 0.8397 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1878, allocations: 0 / 0.8397 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1878, allocations: 0 / 0.8397 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1878, allocations: 0 / 0.8397 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1881, allocations: 239.2 kB / 0.8399 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1881, allocations: 23.86 kB / 0.8399 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1882, allocations: 8.031 kB / 0.84 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.1882, allocations: 3.984 kB / 0.84 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.1883, allocations: 4 kB / 0.84 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.1883, allocations: 0 / 0.84 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002457/0.1885, allocations: 259 kB / 0.8402 GB, free: 272 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1885, allocations: 0 / 0.8402 GB, free: 272 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003105/0.1888, allocations: 67.88 kB / 0.8403 GB, free: 204 kB / 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.000808/0.1896, allocations: 0.8176 MB / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.1899, allocations: 143.9 kB / 0.8412 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1899, allocations: 4 kB / 0.8412 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1901, allocations: 43.91 kB / 0.8413 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1904, allocations: 19.53 kB / 0.8413 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.1935, allocations: 2.722 MB / 0.8439 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.1936, allocations: 134.8 kB / 0.8441 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.1937, allocations: 12.5 kB / 0.8441 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.1938, allocations: 55.41 kB / 0.8441 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.1938, allocations: 0 / 0.8441 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.2269, allocations: 4.866 MB / 0.8489 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 0.5 kB / 0.8489 GB, free: 7.445 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.152099654078484] Failed to read output from testmodel.py, exit status != 0: 11.306429410818964 11.334594045 11.147434826 Calling exit ...