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.00143/0.00143, allocations: 110.2 kB / 19.69 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.001471/0.001471, allocations: 207.7 kB / 23 MB, free: 4.57 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002567/0.002567, allocations: 290.4 kB / 313.5 MB, free: 2.809 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.139/1.139, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.002788/0.002788, allocations: 108 kB / 0.7408 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 95.38 MB / 0.834 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002817/0.1755, allocations: 1.501 MB / 0.8354 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.177, allocations: 0.8283 MB / 0.8362 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.177, allocations: 3.938 kB / 0.8362 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1773, allocations: 131.8 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006007/0.1779, allocations: 184.7 kB / 0.8365 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.178, allocations: 72.42 kB / 0.8366 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1782, allocations: 79.8 kB / 0.8367 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.431e-05/0.1782, allocations: 7.875 kB / 0.8367 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.1783, allocations: 47.81 kB / 0.8367 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1784, allocations: 87.83 kB / 0.8368 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1785, allocations: 4 kB / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.1789, allocations: 259.6 kB / 0.8371 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.179, allocations: 99.72 kB / 0.8372 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.1791, allocations: 83.28 kB / 0.8373 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.1795, allocations: 326.7 kB / 0.8376 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1795, allocations: 4 kB / 0.8376 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1795, allocations: 4 kB / 0.8376 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1795, allocations: 0 / 0.8376 GB, free: 4.398 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.0007753/0.1803, allocations: 0.5041 MB / 0.8381 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1804, allocations: 9.344 kB / 0.8381 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.1804, allocations: 32.7 kB / 0.8381 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1808, allocations: 320.8 kB / 0.8384 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1808, allocations: 384 / 0.8384 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1808, allocations: 4.375 kB / 0.8384 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.181, allocations: 89.97 kB / 0.8385 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.181, allocations: 3.984 kB / 0.8385 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.181, allocations: 3.938 kB / 0.8385 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.181, allocations: 4 kB / 0.8385 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.1813, allocations: 95.94 kB / 0.8386 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.1818, allocations: 435.8 kB / 0.839 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.182, allocations: 102.5 kB / 0.8391 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1821, allocations: 60.88 kB / 0.8392 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.1822, allocations: 19.98 kB / 0.8392 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1822, allocations: 38.5 kB / 0.8392 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1822, allocations: 0 / 0.8392 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004434/0.1827, allocations: 209.4 kB / 0.8394 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1827, allocations: 51.41 kB / 0.8395 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.1833, allocations: 0.5327 MB / 0.84 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1833, allocations: 29.7 kB / 0.84 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1834, allocations: 160.1 kB / 0.8402 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1835, allocations: 7.938 kB / 0.8402 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.1835, allocations: 45.83 kB / 0.8402 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1837, allocations: 338.8 kB / 0.8406 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1838, allocations: 91.94 kB / 0.8406 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.184, allocations: 99.88 kB / 0.8407 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.1843, allocations: 180.6 kB / 0.8409 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1843, allocations: 0 / 0.8409 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003958/0.1847, allocations: 276.2 kB / 0.8412 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1847, allocations: 4 kB / 0.8412 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1847, allocations: 7.922 kB / 0.8412 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1847, allocations: 0 / 0.8412 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1848, allocations: 31.92 kB / 0.8412 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1848, allocations: 0 / 0.8412 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.1849, allocations: 15.88 kB / 0.8412 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1849, allocations: 4 kB / 0.8412 GB, free: 476 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.0001469/0.1851, allocations: 174.4 kB / 0.8414 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.1851, allocations: 27.81 kB / 0.8414 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.1854, allocations: 167.8 kB / 0.8416 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1854, allocations: 0 / 0.8416 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1854, allocations: 4 kB / 0.8416 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1854, allocations: 0 / 0.8416 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.1857, allocations: 252.6 kB / 0.8418 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1857, allocations: 4.031 kB / 0.8418 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.1858, allocations: 8 kB / 0.8418 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1858, allocations: 0 / 0.8418 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1858, allocations: 3.984 kB / 0.8419 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1858, allocations: 0 / 0.8419 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1858, allocations: 0 / 0.8419 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1861, allocations: 259.2 kB / 0.8421 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.1862, allocations: 35.81 kB / 0.8421 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.1862, allocations: 7.984 kB / 0.8421 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.1863, allocations: 4 kB / 0.8421 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1864, allocations: 7.922 kB / 0.8422 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1864, allocations: 4 kB / 0.8422 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004405/0.1868, allocations: 399.1 kB / 0.8425 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1868, allocations: 0 / 0.8425 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003663/0.1872, allocations: 75.88 kB / 0.8426 GB, free: 14.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.0002877/0.1875, allocations: 155.1 kB / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.1878, allocations: 155.9 kB / 0.8429 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1878, allocations: 0 / 0.8429 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1879, allocations: 55.91 kB / 0.843 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1882, allocations: 25.42 kB / 0.843 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007944/0.189, allocations: 0.5257 MB / 0.8435 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.1894, allocations: 0.7769 MB / 0.8443 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1895, allocations: 23.38 kB / 0.8443 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1895, allocations: 0 / 0.8443 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.005788/0.1953, allocations: 3.363 MB / 0.8476 GB, free: 9.867 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.419967119814828] Failed to read output from testmodel.py, exit status != 0: 0.20276491390541196 0.21751013099999994 0.035005357 Calling exit ...