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.001372/0.001372, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001536/0.001536, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.785 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.002504/0.002504, allocations: 291.9 kB / 312.7 MB, free: 2.59 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.157/1.157, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.00281/0.00281, allocations: 101.4 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1686, allocations: 95.39 MB / 0.8327 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002664/0.1712, allocations: 1.506 MB / 0.8342 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1725, allocations: 0.7223 MB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.1725, allocations: 0 / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1727, allocations: 127.8 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1728, allocations: 67.84 kB / 0.8351 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.1735, allocations: 188.8 kB / 0.8352 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1736, allocations: 67.8 kB / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.1736, allocations: 3.938 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.646e-05/0.1737, allocations: 47.88 kB / 0.8353 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1738, allocations: 95.77 kB / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1738, allocations: 0 / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.1743, allocations: 235.7 kB / 0.8357 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.1744, allocations: 67.8 kB / 0.8357 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.1744, allocations: 39.62 kB / 0.8358 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1748, allocations: 271 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1748, allocations: 0 / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1748, allocations: 0 / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.1748, allocations: 3.984 kB / 0.836 GB, free: 4.82 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.0006724/0.1755, allocations: 448.8 kB / 0.8365 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1755, allocations: 9.938 kB / 0.8365 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.1756, allocations: 38.75 kB / 0.8365 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.1756, allocations: 24.75 kB / 0.8365 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1758, allocations: 206.6 kB / 0.8367 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1759, allocations: 384 / 0.8367 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1759, allocations: 8.359 kB / 0.8367 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1761, allocations: 81.77 kB / 0.8368 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1761, allocations: 0 / 0.8368 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.1761, allocations: 0 / 0.8368 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1761, allocations: 4 kB / 0.8368 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1763, allocations: 83.94 kB / 0.8369 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.1768, allocations: 371.7 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.177, allocations: 86.53 kB / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1771, allocations: 52.88 kB / 0.8374 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.1771, allocations: 15.98 kB / 0.8374 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1772, allocations: 38.56 kB / 0.8374 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1772, allocations: 0 / 0.8374 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004056/0.1776, allocations: 177.4 kB / 0.8376 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1776, allocations: 51.41 kB / 0.8377 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.178, allocations: 364.4 kB / 0.838 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.178, allocations: 25.7 kB / 0.838 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.1781, allocations: 136.1 kB / 0.8382 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.1781, allocations: 8.078 kB / 0.8382 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1781, allocations: 29.72 kB / 0.8382 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1783, allocations: 338.8 kB / 0.8385 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1785, allocations: 95.94 kB / 0.8386 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1786, allocations: 95.94 kB / 0.8387 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.1789, allocations: 204.8 kB / 0.8389 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1789, allocations: 0 / 0.8389 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003727/0.1793, allocations: 263.1 kB / 0.8391 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1793, allocations: 4 kB / 0.8391 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1793, allocations: 0 / 0.8391 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1793, allocations: 0 / 0.8391 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.1794, allocations: 8 kB / 0.8392 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.1794, allocations: 0 / 0.8392 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.1795, allocations: 15.88 kB / 0.8392 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.1795, allocations: 4 kB / 0.8392 GB, free: 1.406 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.0001331/0.1796, allocations: 154.4 kB / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1796, allocations: 19.86 kB / 0.8393 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.1799, allocations: 138.7 kB / 0.8395 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1799, allocations: 3.984 kB / 0.8395 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1799, allocations: 0 / 0.8395 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1799, allocations: 0 / 0.8395 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.1802, allocations: 212.6 kB / 0.8397 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1802, allocations: 0 / 0.8397 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1802, allocations: 11.98 kB / 0.8397 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1802, allocations: 4.031 kB / 0.8397 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.1802, allocations: 3.938 kB / 0.8397 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1802, allocations: 4 kB / 0.8397 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1802, allocations: 0 / 0.8397 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.1806, allocations: 235.3 kB / 0.8399 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.1806, allocations: 27.84 kB / 0.84 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1806, allocations: 0 / 0.84 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.1807, allocations: 7.938 kB / 0.84 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1807, allocations: 12.02 kB / 0.84 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1808, allocations: 0 / 0.84 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002469/0.181, allocations: 259 kB / 0.8402 GB, free: 264 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.181, allocations: 0 / 0.8402 GB, free: 264 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003093/0.1813, allocations: 67.86 kB / 0.8403 GB, free: 196 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.0008112/0.1821, allocations: 0.8098 MB / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.1824, allocations: 147.9 kB / 0.8412 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1824, allocations: 0 / 0.8412 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1825, allocations: 55.89 kB / 0.8413 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1829, allocations: 12.44 kB / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.1859, allocations: 2.722 MB / 0.8439 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.186, allocations: 127.9 kB / 0.8441 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.587e-05/0.186, allocations: 20.48 kB / 0.8441 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.1861, allocations: 51.42 kB / 0.8441 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1861, allocations: 0 / 0.8441 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.2174, allocations: 4.859 MB / 0.8489 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.98, allocations: 8.547 kB / 0.8489 GB, free: 7.441 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 & 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: 14.953245111741126] Failed to read output from testmodel.py, exit status != 0: 11.082530348096043 11.097555861 10.919942754000001 Calling exit ...