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.001742/0.001742, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001491/0.001491, allocations: 219 kB / 22.26 MB, free: 5.082 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 8.016 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.002531/0.002531, allocations: 285.7 kB / 312.7 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.24/1.24, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002796/0.002796, allocations: 105.7 kB / 0.7396 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1745, allocations: 95.39 MB / 0.8328 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001806/0.1763, allocations: 0.6259 MB / 0.8334 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1787, allocations: 1.503 MB / 0.8349 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.1788, allocations: 4 kB / 0.8349 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.1788, allocations: 3.938 kB / 0.8349 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.67e-05/0.1789, allocations: 3.984 kB / 0.8349 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.1796, allocations: 221.1 kB / 0.8351 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.1797, allocations: 31.97 kB / 0.8351 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1797, allocations: 4.281 kB / 0.8351 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.1798, allocations: 19.91 kB / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.1798, allocations: 31.91 kB / 0.8352 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1798, allocations: 3.938 kB / 0.8352 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.1803, allocations: 279.6 kB / 0.8354 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.1804, allocations: 4 kB / 0.8354 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.1804, allocations: 23.88 kB / 0.8355 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.1807, allocations: 223.3 kB / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1807, allocations: 0 / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1807, allocations: 0 / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1807, allocations: 0 / 0.8357 GB, free: 5.594 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.0004498/0.1812, allocations: 323.7 kB / 0.836 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1812, allocations: 13.34 kB / 0.836 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.1813, allocations: 34.73 kB / 0.836 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1813, allocations: 8.891 kB / 0.836 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1814, allocations: 118.4 kB / 0.8361 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.1814, allocations: 384 / 0.8361 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1814, allocations: 4.375 kB / 0.8362 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1816, allocations: 73.78 kB / 0.8362 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1816, allocations: 3.938 kB / 0.8362 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1816, allocations: 4 kB / 0.8362 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1816, allocations: 4 kB / 0.8362 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.1817, allocations: 35.97 kB / 0.8363 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.1819, allocations: 144.7 kB / 0.8364 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.012e-05/0.1819, allocations: 50.55 kB / 0.8365 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.182, allocations: 36.81 kB / 0.8365 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.182, allocations: 0 / 0.8365 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.182, allocations: 46.48 kB / 0.8365 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.1821, allocations: 0 / 0.8365 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003253/0.1824, allocations: 187.2 kB / 0.8367 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1824, allocations: 85.14 kB / 0.8368 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.1825, allocations: 109.8 kB / 0.8369 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1826, allocations: 29.7 kB / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1826, allocations: 84.3 kB / 0.837 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1826, allocations: 27.83 kB / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1827, allocations: 17.72 kB / 0.8371 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1828, allocations: 318.8 kB / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.1829, allocations: 35.97 kB / 0.8374 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.1829, allocations: 39.98 kB / 0.8374 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1831, allocations: 144.8 kB / 0.8376 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1831, allocations: 0 / 0.8376 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002019/0.1833, allocations: 151.2 kB / 0.8377 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.1833, allocations: 37.69 kB / 0.8377 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1833, allocations: 0 / 0.8377 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1833, allocations: 0 / 0.8377 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1833, allocations: 0 / 0.8377 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1834, allocations: 3.984 kB / 0.8377 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1835, allocations: 15.92 kB / 0.8378 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.1835, allocations: 8.062 kB / 0.8378 GB, free: 3.207 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.0001189/0.1836, allocations: 148.2 kB / 0.8379 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1836, allocations: 11.94 kB / 0.8379 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.498e-05/0.1837, allocations: 8.312 kB / 0.8379 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1837, allocations: 0 / 0.8379 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1837, allocations: 0 / 0.8379 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1837, allocations: 0 / 0.8379 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1838, allocations: 144.7 kB / 0.8381 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1838, allocations: 4 kB / 0.8381 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-06/0.1838, allocations: 7.875 kB / 0.8381 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1838, allocations: 4 kB / 0.8381 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1838, allocations: 4 kB / 0.8381 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1838, allocations: 0 / 0.8381 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1838, allocations: 0 / 0.8381 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1841, allocations: 190.8 kB / 0.8383 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.1841, allocations: 7.891 kB / 0.8383 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1841, allocations: 11.97 kB / 0.8383 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.1841, allocations: 8 kB / 0.8383 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.1841, allocations: 8.031 kB / 0.8383 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1842, allocations: 11.92 kB / 0.8383 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.1842, allocations: 87.28 kB / 0.8384 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1842, allocations: 0 / 0.8384 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003032/0.1845, allocations: 79.86 kB / 0.8385 GB, free: 2.398 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.0007575/0.1853, allocations: 0.7974 MB / 0.8393 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1855, allocations: 159.3 kB / 0.8394 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1855, allocations: 0 / 0.8394 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1856, allocations: 119.3 kB / 0.8395 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1858, allocations: 4 kB / 0.8395 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.1863, allocations: 222.3 kB / 0.8397 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1866, allocations: 0.6846 MB / 0.8404 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.972e-06/0.1866, allocations: 4.125 kB / 0.8404 GB, free: 300 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1866, allocations: 11.44 kB / 0.8404 GB, free: 288 kB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1866, allocations: 0 / 0.8404 GB, free: 288 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.2161, allocations: 3.25 MB / 0.8436 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.63, allocations: 8.047 kB / 0.8436 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.87327134899897] Failed to read output from testmodel.py, exit status != 0: 10.73188723000203 10.760785906 10.57514203 Calling exit ...