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.001756/0.001756, allocations: 117.4 kB / 17.16 MB, free: 5.914 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.002048/0.002048, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.00243/0.00243, allocations: 284.6 kB / 309.8 MB, free: 3.426 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.073/1.073, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",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.002863/0.002863, allocations: 105.7 kB / 0.7347 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.564, allocations: 95.35 MB / 0.8278 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002327/0.5663, allocations: 1.525 MB / 0.8293 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.5673, allocations: 0.7767 MB / 0.8301 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.5674, allocations: 0 / 0.8301 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.5676, allocations: 127.2 kB / 0.8302 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.5677, allocations: 77.19 kB / 0.8303 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.5683, allocations: 177.6 kB / 0.8304 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.5684, allocations: 69.03 kB / 0.8305 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.5684, allocations: 3.625 kB / 0.8305 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.766e-05/0.5685, allocations: 38.22 kB / 0.8305 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.5686, allocations: 89.22 kB / 0.8306 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.5686, allocations: 2.375 kB / 0.8306 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.569, allocations: 239.2 kB / 0.8309 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.5691, allocations: 60.59 kB / 0.8309 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.5691, allocations: 56.42 kB / 0.831 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.5695, allocations: 276.5 kB / 0.8312 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5695, allocations: 3.938 kB / 0.8312 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5695, allocations: 0 / 0.8312 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5695, allocations: 3.938 kB / 0.8312 GB, free: 1.082 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.0005775/0.5701, allocations: 0.5073 MB / 0.8317 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5701, allocations: 11.06 kB / 0.8317 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.915e-05/0.5702, allocations: 4.188 kB / 0.8318 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.5702, allocations: 34.41 kB / 0.8318 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.5702, allocations: 28.62 kB / 0.8318 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.5704, allocations: 256.9 kB / 0.8321 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5704, allocations: 384 / 0.8321 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.5704, allocations: 384 / 0.8321 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5706, allocations: 83.38 kB / 0.8321 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5706, allocations: 0 / 0.8321 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5706, allocations: 6.625 kB / 0.8321 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5706, allocations: 3.938 kB / 0.8321 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.5709, allocations: 84.66 kB / 0.8322 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.5713, allocations: 395.2 kB / 0.8326 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.5715, allocations: 95.31 kB / 0.8327 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.5716, allocations: 48.8 kB / 0.8327 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.5717, allocations: 16.78 kB / 0.8328 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5717, allocations: 36.97 kB / 0.8328 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5717, allocations: 0 / 0.8328 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0004386/0.5721, allocations: 179 kB / 0.833 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5722, allocations: 51.41 kB / 0.833 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.5726, allocations: 355.2 kB / 0.8334 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.5726, allocations: 27.08 kB / 0.8334 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5727, allocations: 134.3 kB / 0.8335 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.5727, allocations: 9.891 kB / 0.8335 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.5728, allocations: 30.73 kB / 0.8335 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5729, allocations: 337.5 kB / 0.8339 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.5731, allocations: 98.52 kB / 0.834 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.5732, allocations: 94.66 kB / 0.8341 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.5735, allocations: 211.2 kB / 0.8343 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5735, allocations: 4.594 kB / 0.8343 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003608/0.5739, allocations: 252.2 kB / 0.8345 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5739, allocations: 13.41 kB / 0.8345 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5739, allocations: 0 / 0.8345 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5739, allocations: 0.6562 kB / 0.8345 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.574, allocations: 7.188 kB / 0.8345 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.574, allocations: 3.125 kB / 0.8345 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.5741, allocations: 14.3 kB / 0.8345 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5741, allocations: 7.5 kB / 0.8345 GB, free: 14.95 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 (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.0001354/0.5742, allocations: 154.7 kB / 0.8347 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.5743, allocations: 24.17 kB / 0.8347 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.5746, allocations: 140.9 kB / 0.8348 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5746, allocations: 4.703 kB / 0.8349 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.5746, allocations: 1.719 kB / 0.8349 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.5746, allocations: 0 / 0.8349 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.5749, allocations: 242.9 kB / 0.8351 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5749, allocations: 0.75 kB / 0.8351 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.5749, allocations: 7.859 kB / 0.8351 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.5749, allocations: 7.125 kB / 0.8351 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.5749, allocations: 0 / 0.8351 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5749, allocations: 0 / 0.8351 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5749, allocations: 0 / 0.8351 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.5753, allocations: 239.2 kB / 0.8353 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.5753, allocations: 102.2 kB / 0.8354 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.5754, allocations: 4.875 kB / 0.8354 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.5754, allocations: 5.547 kB / 0.8354 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.5755, allocations: 3.219 kB / 0.8354 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.5755, allocations: 1.562 kB / 0.8354 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00028/0.5758, allocations: 253.5 kB / 0.8357 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5758, allocations: 0 / 0.8357 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000474/0.5762, allocations: 63.52 kB / 0.8357 GB, free: 14.16 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.000889/0.5771, allocations: 0.8272 MB / 0.8365 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.5775, allocations: 143.7 kB / 0.8367 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5775, allocations: 0 / 0.8367 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.5776, allocations: 52.89 kB / 0.8367 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.578, allocations: 7.188 kB / 0.8367 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.5814, allocations: 2.732 MB / 0.8394 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.5818, allocations: 0.7377 MB / 0.8401 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.432e-05/0.5819, allocations: 18 kB / 0.8401 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.582, allocations: 55.72 kB / 0.8402 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of SimCode: time 1.232e-06/0.582, allocations: 0 / 0.8402 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.6074, allocations: 4.363 MB / 0.8445 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/9.186, allocations: 6.625 kB / 0.8445 GB, free: 10.6 MB / 0.5919 GB " [Timeout remaining time 651] (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: 13.264632436970714] Failed to read output from testmodel.py, exit status != 0: 9.311214419954922 9.33211369 8.75852971 Calling exit ...