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.001988/0.001988, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.003234/0.003234, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002437, allocations: 290.4 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.24/1.24, allocations: 180.9 MB / 0.5333 GB, free: 13.8 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002829/0.002829, allocations: 106.7 kB / 0.7343 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1736, allocations: 95.35 MB / 0.8274 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002914/0.1765, allocations: 1.515 MB / 0.8289 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1779, allocations: 0.7729 MB / 0.8296 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.1779, allocations: 0 / 0.8296 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1782, allocations: 139.8 kB / 0.8298 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1783, allocations: 67.84 kB / 0.8298 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.179, allocations: 191.4 kB / 0.83 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1792, allocations: 55.88 kB / 0.8301 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.1792, allocations: 15.86 kB / 0.8301 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.1793, allocations: 35.91 kB / 0.8301 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1794, allocations: 91.81 kB / 0.8302 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1794, allocations: 0 / 0.8302 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.1799, allocations: 235.7 kB / 0.8304 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.18, allocations: 63.83 kB / 0.8305 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.1801, allocations: 59.42 kB / 0.8306 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.1805, allocations: 279 kB / 0.8308 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1805, allocations: 3.938 kB / 0.8308 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1805, allocations: 0 / 0.8308 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1805, allocations: 0 / 0.8308 GB, free: 6.332 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.000793/0.1813, allocations: 0.5057 MB / 0.8313 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1814, allocations: 8.031 kB / 0.8313 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.1814, allocations: 38.73 kB / 0.8314 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1814, allocations: 24.8 kB / 0.8314 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1817, allocations: 255.9 kB / 0.8316 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1818, allocations: 8.375 kB / 0.8316 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1818, allocations: 384 / 0.8316 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.182, allocations: 77.78 kB / 0.8317 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.182, allocations: 0 / 0.8317 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.182, allocations: 4 kB / 0.8317 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.182, allocations: 0 / 0.8317 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.1822, allocations: 91.86 kB / 0.8318 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.1829, allocations: 392.8 kB / 0.8322 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.183, allocations: 86.53 kB / 0.8323 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1832, allocations: 48.88 kB / 0.8323 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.1832, allocations: 19.98 kB / 0.8323 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1832, allocations: 34.56 kB / 0.8324 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1832, allocations: 0 / 0.8324 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004459/0.1837, allocations: 181.4 kB / 0.8325 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1837, allocations: 51.41 kB / 0.8326 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1841, allocations: 363.3 kB / 0.8329 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1841, allocations: 25.7 kB / 0.833 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1842, allocations: 144 kB / 0.8331 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.1842, allocations: 3.953 kB / 0.8331 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1843, allocations: 25.66 kB / 0.8331 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1844, allocations: 342.8 kB / 0.8334 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.1846, allocations: 95.94 kB / 0.8335 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1847, allocations: 99.94 kB / 0.8336 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.185, allocations: 211.4 kB / 0.8338 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1851, allocations: 0 / 0.8338 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003921/0.1854, allocations: 253.4 kB / 0.8341 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1855, allocations: 4 kB / 0.8341 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1855, allocations: 4 kB / 0.8341 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1855, allocations: 4 kB / 0.8341 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.1856, allocations: 8 kB / 0.8341 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1856, allocations: 0 / 0.8341 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.1857, allocations: 19.88 kB / 0.8341 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1857, allocations: 3.938 kB / 0.8341 GB, free: 2.723 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.0001255/0.1858, allocations: 150.4 kB / 0.8343 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.1858, allocations: 19.86 kB / 0.8343 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.1861, allocations: 142.6 kB / 0.8344 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1861, allocations: 3.984 kB / 0.8344 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1862, allocations: 4 kB / 0.8344 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1862, allocations: 0 / 0.8344 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.1864, allocations: 241.5 kB / 0.8347 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1864, allocations: 0 / 0.8347 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.1865, allocations: 8 kB / 0.8347 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1865, allocations: 0 / 0.8347 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1865, allocations: 0 / 0.8347 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1865, allocations: 0 / 0.8347 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1865, allocations: 4.031 kB / 0.8347 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.1868, allocations: 239.2 kB / 0.8349 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.1869, allocations: 105 kB / 0.835 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1869, allocations: 0 / 0.835 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.187, allocations: 7.984 kB / 0.835 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1871, allocations: 4.031 kB / 0.835 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1871, allocations: 4 kB / 0.835 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002573/0.1873, allocations: 245.9 kB / 0.8352 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1873, allocations: 0 / 0.8352 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003765/0.1877, allocations: 71.86 kB / 0.8353 GB, free: 1.402 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.0009038/0.1886, allocations: 0.8331 MB / 0.8361 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.189, allocations: 143.9 kB / 0.8363 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.189, allocations: 0 / 0.8363 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1891, allocations: 43.95 kB / 0.8363 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1894, allocations: 16.44 kB / 0.8363 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.1928, allocations: 2.715 MB / 0.839 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1932, allocations: 0.7458 MB / 0.8397 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.926e-05/0.1933, allocations: 20.53 kB / 0.8397 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.1933, allocations: 51.42 kB / 0.8398 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.1933, allocations: 3.938 kB / 0.8398 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.2239, allocations: 4.323 MB / 0.844 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.61, allocations: 9.859 kB / 0.844 GB, free: 8.516 MB / 0.5919 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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: 12.927172611001879] Failed to read output from testmodel.py, exit status != 0: 8.676706904545426 8.691386197 8.507966918 Calling exit ...