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.001316/0.001316, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001528/0.001528, allocations: 221.2 kB / 23.01 MB, free: 4.609 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.00241/0.00241, allocations: 282.9 kB / 313.5 MB, free: 2.848 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.182/1.182, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") [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.002819/0.002819, allocations: 106.4 kB / 0.7409 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.188, allocations: 95.39 MB / 0.834 GB, free: 8.129 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.0033/0.1913, allocations: 1.531 MB / 0.8355 GB, free: 6.586 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.193, allocations: 0.7807 MB / 0.8363 GB, free: 5.801 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1931, allocations: 0 / 0.8363 GB, free: 5.801 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1934, allocations: 135.7 kB / 0.8364 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.1935, allocations: 67.83 kB / 0.8365 GB, free: 5.602 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009098/0.1944, allocations: 187.6 kB / 0.8366 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1945, allocations: 67.8 kB / 0.8367 GB, free: 5.352 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.1946, allocations: 3.938 kB / 0.8367 GB, free: 5.348 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.1947, allocations: 43.88 kB / 0.8367 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1948, allocations: 91.83 kB / 0.8368 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1948, allocations: 3.938 kB / 0.8368 GB, free: 5.211 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.1954, allocations: 259.6 kB / 0.8371 GB, free: 4.957 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1955, allocations: 59.83 kB / 0.8371 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.987e-05/0.1956, allocations: 55.48 kB / 0.8372 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.196, allocations: 275 kB / 0.8375 GB, free: 4.574 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.196, allocations: 4 kB / 0.8375 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.184e-06/0.196, allocations: 0 / 0.8375 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.196, allocations: 3.938 kB / 0.8375 GB, free: 4.566 MB / 0.5763 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.0007801/0.1968, allocations: 445.8 kB / 0.8379 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1969, allocations: 9.344 kB / 0.8379 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.1969, allocations: 20.8 kB / 0.8379 GB, free: 4.074 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1972, allocations: 210.7 kB / 0.8381 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1972, allocations: 384 / 0.8381 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1972, allocations: 4.375 kB / 0.8381 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1974, allocations: 81.97 kB / 0.8382 GB, free: 3.754 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1974, allocations: 0 / 0.8382 GB, free: 3.754 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1974, allocations: 0 / 0.8382 GB, free: 3.754 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1974, allocations: 4 kB / 0.8382 GB, free: 3.75 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1976, allocations: 87.86 kB / 0.8383 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.1982, allocations: 363.9 kB / 0.8386 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1984, allocations: 90.52 kB / 0.8387 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1985, allocations: 52.88 kB / 0.8388 GB, free: 3.113 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.1985, allocations: 15.98 kB / 0.8388 GB, free: 3.098 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1985, allocations: 38.5 kB / 0.8388 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1985, allocations: 4 kB / 0.8388 GB, free: 3.047 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0004333/0.199, allocations: 173.5 kB / 0.839 GB, free: 2.871 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.199, allocations: 51.41 kB / 0.839 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.1994, allocations: 364.4 kB / 0.8394 GB, free: 2.441 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1994, allocations: 25.7 kB / 0.8394 GB, free: 2.41 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1995, allocations: 140 kB / 0.8395 GB, free: 2.27 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.1996, allocations: 4.078 kB / 0.8395 GB, free: 2.266 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1996, allocations: 29.72 kB / 0.8396 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1998, allocations: 334.8 kB / 0.8399 GB, free: 1.895 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.1999, allocations: 99.94 kB / 0.84 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2001, allocations: 95.94 kB / 0.8401 GB, free: 1.703 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.2004, allocations: 215.3 kB / 0.8403 GB, free: 1.492 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2004, allocations: 4 kB / 0.8403 GB, free: 1.488 MB / 0.5763 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003631/0.2007, allocations: 253.4 kB / 0.8405 GB, free: 1.234 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2007, allocations: 7.938 kB / 0.8405 GB, free: 1.227 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2008, allocations: 0 / 0.8405 GB, free: 1.227 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2008, allocations: 4 kB / 0.8405 GB, free: 1.223 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.2008, allocations: 4 kB / 0.8405 GB, free: 1.219 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2009, allocations: 3.938 kB / 0.8406 GB, free: 1.215 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.2009, allocations: 23.88 kB / 0.8406 GB, free: 1.191 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2009, allocations: 4 kB / 0.8406 GB, free: 1.188 MB / 0.5763 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.0001291/0.2011, allocations: 146.4 kB / 0.8407 GB, free: 1.035 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.2011, allocations: 19.86 kB / 0.8407 GB, free: 1.016 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.2014, allocations: 142.6 kB / 0.8409 GB, free: 0.8633 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2014, allocations: 0 / 0.8409 GB, free: 0.8633 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2014, allocations: 4 kB / 0.8409 GB, free: 0.8594 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2014, allocations: 4.031 kB / 0.8409 GB, free: 0.8555 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2016, allocations: 212.6 kB / 0.8411 GB, free: 0.6055 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2016, allocations: 0 / 0.8411 GB, free: 0.6055 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.2017, allocations: 8 kB / 0.8411 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2017, allocations: 0 / 0.8411 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2017, allocations: 4 kB / 0.8411 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2017, allocations: 0 / 0.8411 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2017, allocations: 0 / 0.8411 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.202, allocations: 239.2 kB / 0.8413 GB, free: 352 kB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.2021, allocations: 27.84 kB / 0.8414 GB, free: 324 kB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2021, allocations: 0 / 0.8414 GB, free: 324 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.2022, allocations: 7.984 kB / 0.8414 GB, free: 316 kB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.2022, allocations: 8 kB / 0.8414 GB, free: 308 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2022, allocations: 0 / 0.8414 GB, free: 308 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002491/0.2025, allocations: 251 kB / 0.8416 GB, free: 60 kB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.2025, allocations: 0 / 0.8416 GB, free: 60 kB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003542/0.2028, allocations: 71.94 kB / 0.8417 GB, free: 15.98 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.000275/0.2031, allocations: 151 kB / 0.8418 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.2034, allocations: 139.9 kB / 0.842 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2034, allocations: 3.938 kB / 0.842 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2035, allocations: 51.91 kB / 0.842 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2038, allocations: 25.69 kB / 0.842 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.2045, allocations: 402.9 kB / 0.8424 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.2049, allocations: 0.7431 MB / 0.8431 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2049, allocations: 11.44 kB / 0.8431 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.2049, allocations: 0 / 0.8431 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.004739/0.2096, allocations: 2.417 MB / 0.8455 GB, free: 12.01 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.25029615405947] Failed to read output from testmodel.py, exit status != 0: 0.2173808510415256 0.23237664499999997 0.033324385000000005 Calling exit ...