Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00133/0.00133, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001468/0.001468, allocations: 220.6 kB / 23.01 MB, free: 5.047 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.02/1.02, allocations: 150 MB / 463.2 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002025/0.002025, allocations: 65.19 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1847, allocations: 89.18 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.00303/0.1877, allocations: 1.514 MB / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1893, allocations: 0.7867 MB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.1893, allocations: 0 / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1896, allocations: 127.8 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1897, allocations: 75.81 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.1905, allocations: 191.3 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1906, allocations: 71.8 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.1907, allocations: 3.938 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.1907, allocations: 35.95 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1909, allocations: 91.77 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1909, allocations: 8 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.1914, allocations: 251.6 kB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.1915, allocations: 63.83 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.1915, allocations: 55.48 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.1919, allocations: 279 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1919, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1919, allocations: 4 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.1919, allocations: 0 / 0.7318 GB, free: 13.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007333/0.1927, allocations: 448.7 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1927, allocations: 12.03 kB / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.1927, allocations: 30.75 kB / 0.7323 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1928, allocations: 24.8 kB / 0.7323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1931, allocations: 206.7 kB / 0.7325 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1931, allocations: 384 / 0.7325 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1931, allocations: 12.34 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.1934, allocations: 73.8 kB / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1934, allocations: 0 / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1934, allocations: 0 / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1934, allocations: 7.984 kB / 0.7326 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.1936, allocations: 83.94 kB / 0.7327 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.1942, allocations: 371.7 kB / 0.7331 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1944, allocations: 90.52 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1945, allocations: 52.89 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.1946, allocations: 19.97 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1946, allocations: 30.56 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1946, allocations: 0 / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004687/0.1951, allocations: 181.5 kB / 0.7334 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1951, allocations: 55.44 kB / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.1955, allocations: 356.5 kB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1955, allocations: 25.7 kB / 0.7338 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1956, allocations: 140 kB / 0.734 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1956, allocations: 11.95 kB / 0.734 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.1957, allocations: 25.7 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1958, allocations: 334.8 kB / 0.7343 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.196, allocations: 99.94 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.1962, allocations: 95.94 kB / 0.7345 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.1965, allocations: 207.4 kB / 0.7347 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1965, allocations: 0 / 0.7347 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003722/0.1968, allocations: 257.3 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1968, allocations: 4 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1969, allocations: 4 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1969, allocations: 0 / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.197, allocations: 15.98 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.197, allocations: 0 / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.197, allocations: 11.89 kB / 0.735 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.197, allocations: 4 kB / 0.735 GB, free: 10.28 MB / 0.5606 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.0001352/0.1972, allocations: 145.7 kB / 0.7351 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1972, allocations: 23.81 kB / 0.7352 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.1975, allocations: 146.6 kB / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1975, allocations: 0 / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1975, allocations: 0 / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1975, allocations: 0 / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.1978, allocations: 220.6 kB / 0.7355 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1978, allocations: 4 kB / 0.7355 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.1978, allocations: 8 kB / 0.7355 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1978, allocations: 0 / 0.7355 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1979, allocations: 8.016 kB / 0.7355 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1979, allocations: 0 / 0.7355 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1979, allocations: 0 / 0.7355 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.1982, allocations: 231.3 kB / 0.7357 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1982, allocations: 27.8 kB / 0.7358 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1983, allocations: 0 / 0.7358 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.1983, allocations: 19.95 kB / 0.7358 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.1984, allocations: 0 / 0.7358 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1984, allocations: 4 kB / 0.7358 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002605/0.1986, allocations: 251 kB / 0.736 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1986, allocations: 3.938 kB / 0.736 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003949/0.199, allocations: 63.88 kB / 0.7361 GB, free: 9.074 MB / 0.5606 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.000875/0.1999, allocations: 0.8254 MB / 0.7369 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.2003, allocations: 147.8 kB / 0.737 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2003, allocations: 0 / 0.737 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.2004, allocations: 52 kB / 0.7371 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2007, allocations: 16.23 kB / 0.7371 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.204, allocations: 2.712 MB / 0.7398 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.2044, allocations: 0.7394 MB / 0.7405 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.442e-05/0.2044, allocations: 16.48 kB / 0.7405 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.2045, allocations: 51.42 kB / 0.7405 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.2045, allocations: 0 / 0.7405 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.2365, allocations: 4.399 MB / 0.7448 GB, free: 168 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.34, allocations: 13.61 kB / 0.7449 GB, free: 160 kB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.25555089900081] Failed to read output from testmodel.py, exit status != 0: 11.442691178999667 11.458560811 11.263552485 Calling exit ...