Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001319/0.001319, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001423/0.001423, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 8.02 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.004047/0.004047, allocations: 282.9 kB / 312.7 MB, free: 2.879 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.331/1.331, allocations: 180.6 MB / 0.5369 GB, free: 13.06 MB / 382.1 MB " [Timeout remaining time 178] 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.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002854/0.002854, allocations: 113 kB / 0.7396 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1846, allocations: 95.38 MB / 0.8327 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002789/0.1874, allocations: 1.508 MB / 0.8342 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1888, allocations: 0.8244 MB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.1889, allocations: 4 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.1891, allocations: 131.8 kB / 0.8351 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.1897, allocations: 184.4 kB / 0.8353 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1899, allocations: 80.08 kB / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.19, allocations: 71.8 kB / 0.8355 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.1901, allocations: 7.938 kB / 0.8355 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.1902, allocations: 43.83 kB / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1903, allocations: 87.83 kB / 0.8356 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1903, allocations: 4 kB / 0.8356 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.1908, allocations: 259.6 kB / 0.8358 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1909, allocations: 103.7 kB / 0.8359 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.842e-05/0.191, allocations: 99.14 kB / 0.836 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.1915, allocations: 346.6 kB / 0.8364 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1915, allocations: 8 kB / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1915, allocations: 0 / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1915, allocations: 0 / 0.8364 GB, free: 4.863 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.0008521/0.1924, allocations: 0.5468 MB / 0.8369 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1924, allocations: 9.938 kB / 0.8369 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.1925, allocations: 34.75 kB / 0.837 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.1925, allocations: 32.7 kB / 0.837 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009162/0.1934, allocations: 0.8638 MB / 0.8378 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1934, allocations: 384 / 0.8378 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1935, allocations: 8.375 kB / 0.8378 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1937, allocations: 89.72 kB / 0.8379 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1937, allocations: 11.88 kB / 0.8379 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.1937, allocations: 0 / 0.8379 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1937, allocations: 0 / 0.8379 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.1939, allocations: 95.94 kB / 0.838 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.1946, allocations: 0.5543 MB / 0.8386 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1948, allocations: 106.5 kB / 0.8387 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1949, allocations: 56.83 kB / 0.8387 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.195, allocations: 19.98 kB / 0.8387 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.195, allocations: 34.55 kB / 0.8388 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.195, allocations: 4 kB / 0.8388 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004896/0.1955, allocations: 213.4 kB / 0.839 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1955, allocations: 55.39 kB / 0.839 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.1968, allocations: 1.205 MB / 0.8402 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1968, allocations: 25.7 kB / 0.8402 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1969, allocations: 180.1 kB / 0.8404 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1969, allocations: 12.06 kB / 0.8404 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.197, allocations: 17.72 kB / 0.8404 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1971, allocations: 350.7 kB / 0.8408 GB, free: 180 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1972, allocations: 51.91 kB / 0.8408 GB, free: 128 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1973, allocations: 51.97 kB / 0.8409 GB, free: 76 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.1976, allocations: 108.8 kB / 0.841 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1976, allocations: 0 / 0.841 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002813/0.1978, allocations: 161.4 kB / 0.8411 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1979, allocations: 8 kB / 0.8411 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1979, allocations: 0 / 0.8411 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1979, allocations: 0 / 0.8411 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.198, allocations: 7.984 kB / 0.8411 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.198, allocations: 4 kB / 0.8411 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.198, allocations: 12.02 kB / 0.8412 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.198, allocations: 7.922 kB / 0.8412 GB, free: 15.76 MB / 0.5919 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 (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 prepare postOptimizeDAE: time 0.0001477/0.1982, allocations: 170.4 kB / 0.8413 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.1982, allocations: 27.81 kB / 0.8414 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.1986, allocations: 168.2 kB / 0.8415 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1986, allocations: 0 / 0.8415 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1986, allocations: 4.031 kB / 0.8415 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1986, allocations: 0 / 0.8415 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.1989, allocations: 280.4 kB / 0.8418 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1989, allocations: 0 / 0.8418 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.1989, allocations: 7.984 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1989, allocations: 0 / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1989, allocations: 4 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1989, allocations: 0 / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1989, allocations: 3.938 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.1993, allocations: 271.2 kB / 0.8421 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.1994, allocations: 55.73 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1994, allocations: 0 / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1995, allocations: 11.98 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1995, allocations: 0 / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1995, allocations: 4 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009326/0.2005, allocations: 0.952 MB / 0.8431 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2005, allocations: 0 / 0.8431 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003706/0.2008, allocations: 75.88 kB / 0.8431 GB, free: 13.67 MB / 0.5919 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.0008131/0.2016, allocations: 0.8565 MB / 0.844 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.2019, allocations: 103.9 kB / 0.8441 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2019, allocations: 0 / 0.8441 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.202, allocations: 51.97 kB / 0.8441 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.2023, allocations: 24.06 kB / 0.8441 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.2096, allocations: 6.773 MB / 0.8508 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.21, allocations: 0.776 MB / 0.8515 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.44e-05/0.2101, allocations: 38.94 kB / 0.8515 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.2102, allocations: 91.39 kB / 0.8516 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.2102, allocations: 0 / 0.8516 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0439/0.2541, allocations: 7.298 MB / 0.8588 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.22, allocations: 8.406 kB / 0.8588 GB, free: 13.7 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.668179993001104] Failed to read output from testmodel.py, exit status != 0: 11.352119546001632 11.382313309 11.185534282 Calling exit ...