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.001213/0.001213, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001361/0.001361, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.00248/0.00248, allocations: 278.9 kB / 313.5 MB, free: 2.629 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.239/1.239, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.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.002761/0.002761, allocations: 99.12 kB / 0.7403 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1944, allocations: 95.39 MB / 0.8334 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.00287/0.1973, allocations: 1.519 MB / 0.8349 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1987, allocations: 0.7107 MB / 0.8356 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.1987, allocations: 3.938 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.199, allocations: 131.7 kB / 0.8358 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.1991, allocations: 71.83 kB / 0.8358 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.1997, allocations: 189 kB / 0.836 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1999, allocations: 63.75 kB / 0.8361 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.1999, allocations: 7.938 kB / 0.8361 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.2, allocations: 35.89 kB / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.2001, allocations: 95.83 kB / 0.8362 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2001, allocations: 0 / 0.8362 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.2005, allocations: 259.6 kB / 0.8364 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.2006, allocations: 59.83 kB / 0.8365 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.2007, allocations: 43.61 kB / 0.8365 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2011, allocations: 279 kB / 0.8368 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2011, allocations: 0 / 0.8368 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2011, allocations: 0 / 0.8368 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2011, allocations: 0 / 0.8368 GB, free: 4.828 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.0006444/0.2017, allocations: 444.8 kB / 0.8372 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2018, allocations: 17.94 kB / 0.8372 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.2018, allocations: 192 / 0.8372 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.2018, allocations: 30.75 kB / 0.8373 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.2019, allocations: 24.75 kB / 0.8373 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.2021, allocations: 202.7 kB / 0.8375 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2022, allocations: 384 / 0.8375 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2022, allocations: 4.375 kB / 0.8375 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.2024, allocations: 77.59 kB / 0.8376 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2024, allocations: 3.938 kB / 0.8376 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2024, allocations: 0 / 0.8376 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2024, allocations: 11.94 kB / 0.8376 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.2026, allocations: 83.92 kB / 0.8377 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.2032, allocations: 359.8 kB / 0.838 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.2034, allocations: 86.53 kB / 0.8381 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2035, allocations: 44.89 kB / 0.8381 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.2036, allocations: 27.97 kB / 0.8382 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.2036, allocations: 38.5 kB / 0.8382 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2036, allocations: 0 / 0.8382 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004528/0.2041, allocations: 169.5 kB / 0.8384 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.2042, allocations: 59.39 kB / 0.8384 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.2046, allocations: 356.4 kB / 0.8388 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2046, allocations: 29.7 kB / 0.8388 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2047, allocations: 136.1 kB / 0.8389 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.2047, allocations: 8.078 kB / 0.8389 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.2048, allocations: 29.7 kB / 0.839 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2049, allocations: 346.7 kB / 0.8393 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.2051, allocations: 95.94 kB / 0.8394 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2052, allocations: 95.89 kB / 0.8395 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.2055, allocations: 211.3 kB / 0.8397 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2055, allocations: 0 / 0.8397 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003825/0.2059, allocations: 253.4 kB / 0.8399 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2059, allocations: 4 kB / 0.8399 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.206, allocations: 4 kB / 0.8399 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.206, allocations: 0 / 0.8399 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.2061, allocations: 11.98 kB / 0.8399 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2061, allocations: 0 / 0.8399 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.2061, allocations: 15.88 kB / 0.8399 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2062, allocations: 4 kB / 0.8399 GB, free: 1.418 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 (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.0001281/0.2063, allocations: 154.3 kB / 0.8401 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.2063, allocations: 19.86 kB / 0.8401 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.2066, allocations: 138.7 kB / 0.8402 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2066, allocations: 0 / 0.8402 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2066, allocations: 0 / 0.8402 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2066, allocations: 4 kB / 0.8402 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.2069, allocations: 208.6 kB / 0.8404 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2069, allocations: 0 / 0.8404 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.207, allocations: 19.95 kB / 0.8405 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.207, allocations: 0 / 0.8405 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.207, allocations: 0 / 0.8405 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.207, allocations: 0 / 0.8405 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.207, allocations: 0 / 0.8405 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.2073, allocations: 239.2 kB / 0.8407 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.2073, allocations: 27.94 kB / 0.8407 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.2073, allocations: 4 kB / 0.8407 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.2074, allocations: 3.984 kB / 0.8407 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.2075, allocations: 8.031 kB / 0.8407 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2075, allocations: 0 / 0.8407 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002387/0.2077, allocations: 255 kB / 0.841 GB, free: 288 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2077, allocations: 0 / 0.841 GB, free: 288 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003472/0.208, allocations: 67.88 kB / 0.841 GB, free: 220 kB / 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 (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.0007921/0.2088, allocations: 0.8175 MB / 0.8418 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.2092, allocations: 147.9 kB / 0.842 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2092, allocations: 8 kB / 0.842 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2093, allocations: 43.97 kB / 0.842 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.2097, allocations: 16.38 kB / 0.842 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.2127, allocations: 2.734 MB / 0.8447 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2129, allocations: 123.2 kB / 0.8448 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.2129, allocations: 20.48 kB / 0.8449 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.213, allocations: 59.41 kB / 0.8449 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.213, allocations: 0 / 0.8449 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2377, allocations: 4.507 MB / 0.8493 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.7, allocations: 11.77 kB / 0.8493 GB, free: 7.816 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.875325373956002] Failed to read output from testmodel.py, exit status != 0: 11.856858640094288 11.874145675 11.669962193 Calling exit ...