Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.00155/0.00155, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001722/0.001722, allocations: 222.1 kB / 23 MB, free: 4.91 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002477/0.002477, allocations: 294.2 kB / 313.5 MB, free: 2.602 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: 14.49 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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.002808/0.002808, allocations: 109.2 kB / 0.7407 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.163, allocations: 95.37 MB / 0.8339 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002577/0.1655, allocations: 1.499 MB / 0.8353 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1669, allocations: 0.7582 MB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.1669, allocations: 3.938 kB / 0.8361 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1672, allocations: 131.8 kB / 0.8362 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.1678, allocations: 180.1 kB / 0.8364 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1679, allocations: 81.91 kB / 0.8365 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.168, allocations: 59.88 kB / 0.8365 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.1681, allocations: 15.92 kB / 0.8365 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.1682, allocations: 43.81 kB / 0.8366 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1683, allocations: 87.83 kB / 0.8366 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1683, allocations: 4 kB / 0.8367 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.1687, allocations: 243.6 kB / 0.8369 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1689, allocations: 103.7 kB / 0.837 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.1689, allocations: 67.34 kB / 0.837 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.1694, allocations: 330.7 kB / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1694, allocations: 0 / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1694, allocations: 0 / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1694, allocations: 0 / 0.8374 GB, free: 4.234 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.0007461/0.1701, allocations: 0.5041 MB / 0.8379 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1701, allocations: 9.344 kB / 0.8379 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.1702, allocations: 36.7 kB / 0.8379 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.1706, allocations: 316.9 kB / 0.8382 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1706, allocations: 8.312 kB / 0.8382 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1706, allocations: 8.359 kB / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1708, allocations: 81.98 kB / 0.8383 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1708, allocations: 0 / 0.8383 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1709, allocations: 0 / 0.8383 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1709, allocations: 0 / 0.8383 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.1711, allocations: 107.9 kB / 0.8384 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.1716, allocations: 396.4 kB / 0.8388 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1718, allocations: 114.5 kB / 0.8389 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1719, allocations: 52.89 kB / 0.8389 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.172, allocations: 23.98 kB / 0.839 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.172, allocations: 30.56 kB / 0.839 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.172, allocations: 0 / 0.839 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004547/0.1724, allocations: 217.4 kB / 0.8392 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1725, allocations: 51.41 kB / 0.8392 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.1731, allocations: 0.5327 MB / 0.8398 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1731, allocations: 25.7 kB / 0.8398 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1732, allocations: 168 kB / 0.8399 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1732, allocations: 3.953 kB / 0.84 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.1733, allocations: 41.7 kB / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1734, allocations: 338.8 kB / 0.8403 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.1736, allocations: 95.92 kB / 0.8404 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1738, allocations: 106 kB / 0.8405 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.174, allocations: 172.7 kB / 0.8407 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1741, allocations: 0 / 0.8407 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004189/0.1745, allocations: 275.4 kB / 0.8409 GB, free: 416 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1745, allocations: 4 kB / 0.8409 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1745, allocations: 0 / 0.8409 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1745, allocations: 0 / 0.8409 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1746, allocations: 35.98 kB / 0.841 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1746, allocations: 0 / 0.841 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/0.1747, allocations: 19.81 kB / 0.841 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1747, allocations: 8 kB / 0.841 GB, free: 348 kB / 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001446/0.1749, allocations: 170.3 kB / 0.8412 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1749, allocations: 27.81 kB / 0.8412 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.1753, allocations: 167.9 kB / 0.8414 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1753, allocations: 3.938 kB / 0.8414 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1753, allocations: 4.031 kB / 0.8414 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1753, allocations: 3.938 kB / 0.8414 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.1755, allocations: 217.2 kB / 0.8416 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1755, allocations: 3.938 kB / 0.8416 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.1756, allocations: 8 kB / 0.8416 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1756, allocations: 0 / 0.8416 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1756, allocations: 0 / 0.8416 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1756, allocations: 0 / 0.8416 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1756, allocations: 0 / 0.8416 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.1759, allocations: 263.3 kB / 0.8418 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.176, allocations: 39.73 kB / 0.8419 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.176, allocations: 0 / 0.8419 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.1761, allocations: 7.984 kB / 0.8419 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1761, allocations: 4 kB / 0.8419 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1761, allocations: 0 / 0.8419 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004172/0.1766, allocations: 403 kB / 0.8423 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1766, allocations: 0 / 0.8423 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003528/0.1769, allocations: 79.92 kB / 0.8423 GB, free: 14.9 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.0002613/0.1772, allocations: 155.1 kB / 0.8425 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1775, allocations: 155.9 kB / 0.8426 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1775, allocations: 0 / 0.8426 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1776, allocations: 55.91 kB / 0.8427 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1779, allocations: 21.44 kB / 0.8427 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/0.1787, allocations: 0.5335 MB / 0.8432 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1789, allocations: 153.5 kB / 0.8434 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.179, allocations: 23.42 kB / 0.8434 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.179, allocations: 4 kB / 0.8434 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.005753/0.1847, allocations: 3.461 MB / 0.8468 GB, free: 10.3 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.293708289973438] Failed to read output from testmodel.py, exit status != 0: 0.19152134098112583 0.2060805 0.033833717 Calling exit ...