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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 104.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.002474/0.002474, allocations: 299 kB / 303 MB, free: 9.496 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.205/1.205, allocations: 180.9 MB / 0.5261 GB, free: 14.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 107.5 kB / 0.7248 GB, free: 39.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1868, allocations: 94.16 MB / 0.8168 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001926/0.1887, allocations: 0.621 MB / 0.8174 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1909, allocations: 1.451 MB / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.1909, allocations: 0 / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.219e-05/0.191, allocations: 0 / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.191, allocations: 3.938 kB / 0.8188 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.1918, allocations: 204.2 kB / 0.819 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.1919, allocations: 43.84 kB / 0.819 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.1919, allocations: 0 / 0.819 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.192, allocations: 19.97 kB / 0.819 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.192, allocations: 27.91 kB / 0.8191 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.192, allocations: 0 / 0.8191 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.1925, allocations: 255.6 kB / 0.8193 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.1925, allocations: 5.703 kB / 0.8193 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.1925, allocations: 23.92 kB / 0.8193 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1929, allocations: 215.7 kB / 0.8196 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1929, allocations: 0 / 0.8196 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1929, allocations: 3.938 kB / 0.8196 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.1929, allocations: 0 / 0.8196 GB, free: 2.48 MB / 0.5606 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.0005389/0.1934, allocations: 412.6 kB / 0.8199 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1935, allocations: 8.031 kB / 0.82 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.1935, allocations: 38.75 kB / 0.82 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.1935, allocations: 8.891 kB / 0.82 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.1937, allocations: 160.4 kB / 0.8202 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1937, allocations: 8.375 kB / 0.8202 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.1937, allocations: 384 / 0.8202 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1939, allocations: 81.72 kB / 0.8202 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1939, allocations: 0 / 0.8202 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1939, allocations: 0 / 0.8202 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1939, allocations: 0 / 0.8202 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.625e-05/0.194, allocations: 35.97 kB / 0.8203 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.1942, allocations: 165.6 kB / 0.8204 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.1943, allocations: 54.55 kB / 0.8205 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.1944, allocations: 48.8 kB / 0.8205 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1944, allocations: 0 / 0.8205 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1944, allocations: 34.5 kB / 0.8206 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.1944, allocations: 0 / 0.8206 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003637/0.1948, allocations: 187.5 kB / 0.8207 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.1948, allocations: 81.11 kB / 0.8208 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.195, allocations: 117.8 kB / 0.8209 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.195, allocations: 29.73 kB / 0.821 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.195, allocations: 84.14 kB / 0.821 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.1951, allocations: 31.88 kB / 0.8211 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1951, allocations: 21.72 kB / 0.8211 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1953, allocations: 318.8 kB / 0.8214 GB, free: 360 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.1953, allocations: 39.91 kB / 0.8214 GB, free: 320 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.1954, allocations: 35.97 kB / 0.8215 GB, free: 284 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1956, allocations: 140.2 kB / 0.8216 GB, free: 128 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1956, allocations: 4.031 kB / 0.8216 GB, free: 124 kB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002097/0.1958, allocations: 147.3 kB / 0.8217 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.1958, allocations: 37.69 kB / 0.8218 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1958, allocations: 8 kB / 0.8218 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1958, allocations: 0 / 0.8218 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1959, allocations: 0 / 0.8218 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1959, allocations: 0 / 0.8218 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.196, allocations: 11.94 kB / 0.8218 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.196, allocations: 4 kB / 0.8218 GB, free: 15.9 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.0001242/0.1961, allocations: 159.5 kB / 0.822 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1962, allocations: 11.92 kB / 0.822 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.573e-05/0.1962, allocations: 12.3 kB / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1962, allocations: 0 / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1962, allocations: 4 kB / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1962, allocations: 0 / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1963, allocations: 165.6 kB / 0.8221 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1963, allocations: 0 / 0.8221 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-06/0.1963, allocations: 3.938 kB / 0.8221 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1963, allocations: 0 / 0.8221 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1964, allocations: 4 kB / 0.8222 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1964, allocations: 7.984 kB / 0.8222 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1964, allocations: 0 / 0.8222 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1966, allocations: 194.7 kB / 0.8223 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1967, allocations: 89 kB / 0.8224 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1967, allocations: 0 / 0.8224 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.1967, allocations: 11.94 kB / 0.8224 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.1967, allocations: 7.984 kB / 0.8224 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1968, allocations: 8.031 kB / 0.8225 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.1968, allocations: 91.2 kB / 0.8225 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1968, allocations: 4 kB / 0.8225 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003184/0.1971, allocations: 71.88 kB / 0.8226 GB, free: 14.96 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.0007962/0.1979, allocations: 0.7941 MB / 0.8234 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1982, allocations: 159.3 kB / 0.8235 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1982, allocations: 4 kB / 0.8235 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1983, allocations: 119.3 kB / 0.8237 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.1985, allocations: 5.125 kB / 0.8237 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.199, allocations: 225.5 kB / 0.8239 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1994, allocations: 0.6846 MB / 0.8245 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.503e-06/0.1994, allocations: 0 / 0.8245 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1994, allocations: 15.42 kB / 0.8246 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1994, allocations: 4.125 kB / 0.8246 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.2245, allocations: 3.139 MB / 0.8276 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.23, allocations: 4.359 kB / 0.8276 GB, free: 9.848 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.347335075959563] Failed to read output from testmodel.py, exit status != 0: 8.29732052795589 8.311785256 8.116071115 Calling exit ...