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.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001527/0.001527, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.442/1.442, allocations: 230.6 MB / 256 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.002551/0.002551, allocations: 282.5 kB / 312.7 MB, free: 2.613 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.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.002985/0.002985, allocations: 108.6 kB / 0.74 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1642, allocations: 95.38 MB / 0.8332 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002983/0.1672, allocations: 1.523 MB / 0.8347 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1687, allocations: 0.7183 MB / 0.8354 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.1688, allocations: 0 / 0.8354 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.169, allocations: 131.7 kB / 0.8355 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1691, allocations: 67.83 kB / 0.8355 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.1699, allocations: 193.5 kB / 0.8357 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.17, allocations: 63.86 kB / 0.8358 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.17, allocations: 3.938 kB / 0.8358 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.1701, allocations: 39.89 kB / 0.8358 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1702, allocations: 87.83 kB / 0.8359 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1702, allocations: 3.938 kB / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.1707, allocations: 247.6 kB / 0.8362 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1708, allocations: 67.77 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.1709, allocations: 43.61 kB / 0.8363 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.1713, allocations: 275 kB / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1713, allocations: 0 / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1713, allocations: 0 / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1713, allocations: 0 / 0.8365 GB, free: 4.336 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.0006977/0.172, allocations: 444.8 kB / 0.8369 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.172, allocations: 9.344 kB / 0.837 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.1721, allocations: 24.75 kB / 0.837 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1724, allocations: 202.7 kB / 0.8372 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1724, allocations: 12.31 kB / 0.8372 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1724, allocations: 384 / 0.8372 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1726, allocations: 85.91 kB / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1726, allocations: 0 / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.1726, allocations: 0 / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1726, allocations: 0 / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.1728, allocations: 83.94 kB / 0.8373 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.1734, allocations: 336.5 kB / 0.8377 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1736, allocations: 90.47 kB / 0.8378 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1737, allocations: 56.81 kB / 0.8378 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.1737, allocations: 15.98 kB / 0.8378 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1738, allocations: 34.56 kB / 0.8379 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1738, allocations: 0 / 0.8379 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004474/0.1742, allocations: 181.5 kB / 0.838 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1742, allocations: 51.41 kB / 0.8381 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.1746, allocations: 360.4 kB / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1747, allocations: 25.7 kB / 0.8384 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1748, allocations: 140.1 kB / 0.8386 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.1748, allocations: 7.938 kB / 0.8386 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1748, allocations: 21.72 kB / 0.8386 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.175, allocations: 338.8 kB / 0.8389 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1752, allocations: 99.88 kB / 0.839 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1753, allocations: 99.98 kB / 0.8391 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.1756, allocations: 207.1 kB / 0.8393 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1756, allocations: 0 / 0.8393 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003915/0.176, allocations: 257.3 kB / 0.8396 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.176, allocations: 8 kB / 0.8396 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.176, allocations: 3.984 kB / 0.8396 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.176, allocations: 0 / 0.8396 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.1761, allocations: 8 kB / 0.8396 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1761, allocations: 3.938 kB / 0.8396 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1762, allocations: 23.81 kB / 0.8396 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1762, allocations: 0 / 0.8396 GB, free: 1 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.0001339/0.1763, allocations: 142.4 kB / 0.8397 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1764, allocations: 23.84 kB / 0.8398 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.1767, allocations: 142.8 kB / 0.8399 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1767, allocations: 11.95 kB / 0.8399 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1767, allocations: 0 / 0.8399 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1767, allocations: 3.984 kB / 0.8399 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1769, allocations: 181.3 kB / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1769, allocations: 3.938 kB / 0.8401 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.177, allocations: 7.984 kB / 0.8401 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.177, allocations: 0 / 0.8401 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.177, allocations: 4 kB / 0.8401 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.177, allocations: 4 kB / 0.8401 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.177, allocations: 3.938 kB / 0.8401 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.1773, allocations: 231.3 kB / 0.8403 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.1774, allocations: 27.8 kB / 0.8404 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1774, allocations: 0 / 0.8404 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.1775, allocations: 7.984 kB / 0.8404 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1775, allocations: 4 kB / 0.8404 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1775, allocations: 0 / 0.8404 GB, free: 152 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002734/0.1778, allocations: 255 kB / 0.8406 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1778, allocations: 0 / 0.8406 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003401/0.1781, allocations: 67.86 kB / 0.8407 GB, free: 15.84 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.0002811/0.1784, allocations: 155.1 kB / 0.8408 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.1788, allocations: 143.8 kB / 0.841 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1788, allocations: 0 / 0.841 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.179, allocations: 43.97 kB / 0.841 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1794, allocations: 20.58 kB / 0.841 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.1802, allocations: 383.9 kB / 0.8414 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.1804, allocations: 123.2 kB / 0.8415 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.103e-05/0.1805, allocations: 20.47 kB / 0.8415 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.1805, allocations: 19.44 kB / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1805, allocations: 0 / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.00786/0.1884, allocations: 2.283 MB / 0.8438 GB, free: 12.63 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: 6.087054977193475] Failed to read output from testmodel.py, exit status != 0: 0.1969952303916216 0.22092851300000002 0.045201833000000004 Calling exit ...