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.001308/0.001308, 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.001949/0.001949, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.781 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.002608/0.002608, allocations: 296.8 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.27/1.27, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.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.003155/0.003155, allocations: 95.14 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1805, allocations: 95.39 MB / 0.8326 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002903/0.1834, allocations: 1.493 MB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1849, allocations: 0.7505 MB / 0.8348 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1849, allocations: 4 kB / 0.8348 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1852, allocations: 135.7 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.1858, allocations: 184.7 kB / 0.8351 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.186, allocations: 76.06 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1861, allocations: 67.83 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.1862, allocations: 15.91 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.1862, allocations: 43.83 kB / 0.8353 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1864, allocations: 87.83 kB / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1864, allocations: 0 / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.1869, allocations: 243.6 kB / 0.8357 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.187, allocations: 107.7 kB / 0.8358 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.1871, allocations: 75.33 kB / 0.8358 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.1876, allocations: 346.6 kB / 0.8362 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1876, allocations: 4 kB / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1876, allocations: 0 / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.1876, allocations: 0 / 0.8362 GB, free: 4.672 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.0009183/0.1885, allocations: 0.5546 MB / 0.8367 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1886, allocations: 9.344 kB / 0.8367 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.1886, allocations: 34.75 kB / 0.8368 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.1887, allocations: 40.64 kB / 0.8368 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.1897, allocations: 0.8599 MB / 0.8376 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1897, allocations: 384 / 0.8376 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1897, allocations: 4.375 kB / 0.8376 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1899, allocations: 89.78 kB / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1899, allocations: 0 / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1899, allocations: 0 / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1899, allocations: 0 / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.1902, allocations: 103.9 kB / 0.8378 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.1909, allocations: 0.5427 MB / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1911, allocations: 98.53 kB / 0.8384 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1912, allocations: 60.89 kB / 0.8385 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.1913, allocations: 23.97 kB / 0.8385 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1913, allocations: 38.55 kB / 0.8386 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1913, allocations: 0 / 0.8386 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004914/0.1918, allocations: 213.3 kB / 0.8388 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1918, allocations: 51.41 kB / 0.8388 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.1932, allocations: 1.213 MB / 0.84 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1932, allocations: 29.7 kB / 0.84 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1933, allocations: 180 kB / 0.8402 GB, free: 380 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.1933, allocations: 7.953 kB / 0.8402 GB, free: 372 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1934, allocations: 13.72 kB / 0.8402 GB, free: 352 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1936, allocations: 354.7 kB / 0.8406 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.1937, allocations: 43.97 kB / 0.8406 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1938, allocations: 51.97 kB / 0.8406 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.194, allocations: 116.8 kB / 0.8408 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.194, allocations: 0 / 0.8408 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002996/0.1943, allocations: 153.5 kB / 0.8409 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1943, allocations: 8 kB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1943, allocations: 0 / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1943, allocations: 0 / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.1944, allocations: 11.98 kB / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1944, allocations: 4.031 kB / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.1945, allocations: 11.94 kB / 0.8409 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1945, allocations: 0 / 0.8409 GB, free: 15.59 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.000157/0.1947, allocations: 170.4 kB / 0.8411 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.1947, allocations: 35.75 kB / 0.8411 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.1951, allocations: 172.1 kB / 0.8413 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1951, allocations: 0 / 0.8413 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1951, allocations: 0 / 0.8413 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1951, allocations: 8.031 kB / 0.8413 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.1954, allocations: 256.6 kB / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1954, allocations: 0 / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1954, allocations: 7.984 kB / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1954, allocations: 4 kB / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1954, allocations: 4 kB / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1954, allocations: 0 / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1954, allocations: 0 / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.1958, allocations: 271.1 kB / 0.8418 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1959, allocations: 51.73 kB / 0.8419 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.1959, allocations: 0 / 0.8419 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.196, allocations: 11.98 kB / 0.8419 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.1961, allocations: 0 / 0.8419 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1961, allocations: 0 / 0.8419 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001019/0.1971, allocations: 0.952 MB / 0.8428 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1971, allocations: 0 / 0.8428 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003692/0.1975, allocations: 79.86 kB / 0.8429 GB, free: 13.5 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.0009103/0.1984, allocations: 0.8488 MB / 0.8437 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.1987, allocations: 107.9 kB / 0.8438 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1987, allocations: 3.938 kB / 0.8438 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1988, allocations: 51.97 kB / 0.8439 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1991, allocations: 23.53 kB / 0.8439 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/0.2069, allocations: 6.777 MB / 0.8505 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.2071, allocations: 167.8 kB / 0.8507 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.329e-05/0.2072, allocations: 46.86 kB / 0.8507 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.2074, allocations: 95.39 kB / 0.8508 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.2074, allocations: 0 / 0.8508 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.2433, allocations: 7.854 MB / 0.8585 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.35, allocations: 6.125 kB / 0.8585 GB, free: 13.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 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.71028489805758] Failed to read output from testmodel.py, exit status != 0: 11.459892040118575 11.486737739 11.294054703 Calling exit ...