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.001581/0.001581, allocations: 109.3 kB / 16.46 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.001613/0.001613, 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.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.003906/0.003906, allocations: 292.3 kB / 309.1 MB, free: 4.043 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.202/1.202, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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.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.002835/0.002835, allocations: 111.5 kB / 0.7343 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1783, allocations: 95.34 MB / 0.8274 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001736/0.1801, allocations: 0.6233 MB / 0.828 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1822, allocations: 1.5 MB / 0.8295 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.1822, allocations: 0 / 0.8295 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.435e-05/0.1823, allocations: 4 kB / 0.8295 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.241e-05/0.1823, allocations: 0 / 0.8295 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.183, allocations: 211.5 kB / 0.8297 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.1831, allocations: 35.97 kB / 0.8297 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1831, allocations: 0 / 0.8297 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.1832, allocations: 19.86 kB / 0.8297 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.1832, allocations: 31.91 kB / 0.8298 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1832, allocations: 0 / 0.8298 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.1836, allocations: 255.7 kB / 0.83 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.1837, allocations: 7.969 kB / 0.83 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.1837, allocations: 19.88 kB / 0.83 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.184, allocations: 219.6 kB / 0.8302 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.184, allocations: 0 / 0.8302 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.184, allocations: 0 / 0.8302 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.184, allocations: 0 / 0.8302 GB, free: 7.031 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.0004441/0.1845, allocations: 400.8 kB / 0.8306 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1845, allocations: 12.03 kB / 0.8306 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.1846, allocations: 38.69 kB / 0.8307 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.1846, allocations: 8.891 kB / 0.8307 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.1847, allocations: 168.3 kB / 0.8308 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1848, allocations: 4.375 kB / 0.8308 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1848, allocations: 384 / 0.8308 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1849, allocations: 85.7 kB / 0.8309 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1849, allocations: 0 / 0.8309 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.185, allocations: 0 / 0.8309 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.185, allocations: 0 / 0.8309 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/0.185, allocations: 43.91 kB / 0.831 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1852, allocations: 161.6 kB / 0.8311 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.39e-05/0.1853, allocations: 58.56 kB / 0.8312 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.1853, allocations: 40.83 kB / 0.8312 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.1853, allocations: 0 / 0.8312 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1854, allocations: 38.44 kB / 0.8313 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.1854, allocations: 4 kB / 0.8313 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003245/0.1857, allocations: 195.2 kB / 0.8314 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1858, allocations: 81.09 kB / 0.8315 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.1858, allocations: 113.8 kB / 0.8316 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1859, allocations: 25.7 kB / 0.8317 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1859, allocations: 84.14 kB / 0.8317 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1859, allocations: 19.84 kB / 0.8318 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.186, allocations: 21.72 kB / 0.8318 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1861, allocations: 326.9 kB / 0.8321 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.1862, allocations: 27.98 kB / 0.8321 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.243e-05/0.1862, allocations: 35.97 kB / 0.8322 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1864, allocations: 148.1 kB / 0.8323 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1864, allocations: 0 / 0.8323 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002044/0.1866, allocations: 159.4 kB / 0.8324 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.1866, allocations: 35.41 kB / 0.8325 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1866, allocations: 4 kB / 0.8325 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1867, allocations: 0 / 0.8325 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.1867, allocations: 0 / 0.8325 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1867, allocations: 8.062 kB / 0.8325 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1868, allocations: 7.938 kB / 0.8325 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.1868, allocations: 11.98 kB / 0.8325 GB, free: 4.438 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.0001141/0.1869, allocations: 151.5 kB / 0.8327 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.1869, allocations: 11.89 kB / 0.8327 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.133e-05/0.187, allocations: 4.375 kB / 0.8327 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.187, allocations: 0 / 0.8327 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.187, allocations: 4 kB / 0.8327 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.187, allocations: 0 / 0.8327 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1871, allocations: 173.6 kB / 0.8328 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1871, allocations: 0 / 0.8328 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.1871, allocations: 3.938 kB / 0.8328 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1871, allocations: 0 / 0.8328 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1871, allocations: 8 kB / 0.8328 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1871, allocations: 0 / 0.8328 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1871, allocations: 0 / 0.8328 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1874, allocations: 190.8 kB / 0.833 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1874, allocations: 93.03 kB / 0.8331 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1874, allocations: 3.938 kB / 0.8331 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.1875, allocations: 11.98 kB / 0.8331 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.1875, allocations: 0 / 0.8331 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1875, allocations: 4 kB / 0.8331 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.86e-05/0.1876, allocations: 91.89 kB / 0.8332 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1876, allocations: 4 kB / 0.8332 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003129/0.1879, allocations: 71.86 kB / 0.8333 GB, free: 3.52 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.0008029/0.1887, allocations: 0.8054 MB / 0.8341 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.1889, allocations: 163.3 kB / 0.8342 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1889, allocations: 8 kB / 0.8342 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.189, allocations: 111.3 kB / 0.8344 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.1892, allocations: 10.62 kB / 0.8344 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.1896, allocations: 226.5 kB / 0.8346 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1899, allocations: 0.6885 MB / 0.8353 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.119e-06/0.1899, allocations: 0 / 0.8353 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.19, allocations: 11.44 kB / 0.8353 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.19, allocations: 0 / 0.8353 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.2153, allocations: 3.129 MB / 0.8383 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.467, allocations: 11.12 kB / 0.8383 GB, free: 14.4 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.547440989874303] Failed to read output from testmodel.py, exit status != 0: 8.53334019612521 8.54755993 8.360734142 Calling exit ...