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.0009425/0.0009425, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001091/0.001091, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8501/0.8501, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001412/0.001412, allocations: 237.7 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6436/0.6436, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6463 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.021e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.001954/0.001975, allocations: 1.524 MB / 0.6478 GB, free: 272 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2285/0.2305, allocations: 0.7028 MB / 0.6485 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.2306, allocations: 1.031 kB / 0.6485 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.2308, allocations: 129.9 kB / 0.6487 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2309, allocations: 68.3 kB / 0.6487 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.2316, allocations: 192.6 kB / 0.6489 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.2317, allocations: 67.12 kB / 0.649 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.2318, allocations: 4.156 kB / 0.649 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.2318, allocations: 45.03 kB / 0.649 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.232, allocations: 85.02 kB / 0.6491 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.232, allocations: 2.719 kB / 0.6491 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.2323, allocations: 243.4 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.2324, allocations: 61.59 kB / 0.6494 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2325, allocations: 29.42 kB / 0.6494 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.2328, allocations: 304.6 kB / 0.6497 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2329, allocations: 3.5 kB / 0.6497 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2329, allocations: 1.594 kB / 0.6497 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2329, allocations: 0 / 0.6497 GB, free: 55.7 MB / 0.5573 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.0004633/0.2333, allocations: 449.5 kB / 0.6501 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2334, allocations: 11.72 kB / 0.6501 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.277e-05/0.2334, allocations: 31.34 kB / 0.6502 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.2334, allocations: 21.39 kB / 0.6502 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2336, allocations: 209.4 kB / 0.6504 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.2336, allocations: 2.219 kB / 0.6504 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.2336, allocations: 3.25 kB / 0.6504 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2337, allocations: 73.33 kB / 0.6505 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2337, allocations: 1.375 kB / 0.6505 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2337, allocations: 6.5 kB / 0.6505 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.2337, allocations: 0 / 0.6505 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2339, allocations: 87.39 kB / 0.6506 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.2342, allocations: 356.6 kB / 0.6509 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2343, allocations: 93.47 kB / 0.651 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.2344, allocations: 53.62 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.2344, allocations: 19.14 kB / 0.6511 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.2344, allocations: 31.97 kB / 0.6511 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.2344, allocations: 1.812 kB / 0.6511 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002775/0.2347, allocations: 184.1 kB / 0.6513 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.2347, allocations: 51.41 kB / 0.6513 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.235, allocations: 355.8 kB / 0.6517 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.235, allocations: 25.7 kB / 0.6517 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.2351, allocations: 145.5 kB / 0.6518 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.2351, allocations: 12.62 kB / 0.6518 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.2351, allocations: 25.64 kB / 0.6519 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.2351, allocations: 333.6 kB / 0.6522 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2352, allocations: 98.45 kB / 0.6523 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.2353, allocations: 97 kB / 0.6524 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.2355, allocations: 204.9 kB / 0.6526 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2355, allocations: 0 / 0.6526 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002287/0.2357, allocations: 265.3 kB / 0.6528 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2358, allocations: 5.25 kB / 0.6528 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2358, allocations: 2.141 kB / 0.6528 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2358, allocations: 1.75 kB / 0.6528 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.2359, allocations: 7.906 kB / 0.6528 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2359, allocations: 4.719 kB / 0.6528 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.2359, allocations: 17.91 kB / 0.6529 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.2359, allocations: 1.406 kB / 0.6529 GB, free: 54.03 MB / 0.5573 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 8.002e-05/0.236, allocations: 142.1 kB / 0.653 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.236, allocations: 24.14 kB / 0.653 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.2362, allocations: 145.1 kB / 0.6531 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2362, allocations: 2.062 kB / 0.6532 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2362, allocations: 0 / 0.6532 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2362, allocations: 0.8438 kB / 0.6532 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2364, allocations: 209 kB / 0.6534 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2364, allocations: 5.219 kB / 0.6534 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.2364, allocations: 9.891 kB / 0.6534 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2364, allocations: 0 / 0.6534 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2364, allocations: 4.5 kB / 0.6534 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2364, allocations: 0.5156 kB / 0.6534 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2364, allocations: 0 / 0.6534 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2366, allocations: 231.3 kB / 0.6536 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.2366, allocations: 30.11 kB / 0.6536 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2366, allocations: 2.438 kB / 0.6536 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.2367, allocations: 6.141 kB / 0.6536 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2367, allocations: 4.516 kB / 0.6536 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2367, allocations: 0.5156 kB / 0.6536 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001543/0.2368, allocations: 256 kB / 0.6539 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2368, allocations: 0 / 0.6539 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003376/0.2372, allocations: 64.22 kB / 0.6539 GB, free: 53.46 MB / 0.5573 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.0004285/0.2376, allocations: 0.8375 MB / 0.6548 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2378, allocations: 147.2 kB / 0.6549 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2378, allocations: 3.188 kB / 0.6549 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.2379, allocations: 44.86 kB / 0.6549 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.2382, allocations: 16.31 kB / 0.655 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.24, allocations: 2.732 MB / 0.6576 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.989e-05/0.2401, allocations: 130.9 kB / 0.6578 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.2401, allocations: 20.55 kB / 0.6578 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.2402, allocations: 54.75 kB / 0.6578 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/0.2402, allocations: 0 / 0.6578 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.2584, allocations: 4.998 MB / 0.6627 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.986, allocations: 7.031 kB / 0.6627 GB, free: 50.35 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 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: 9.43192989192903] Failed to read output from testmodel.py, exit status != 0: 7.064083417877555 7.071551728 6.836713498 Calling exit ...