Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.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.001517/0.001517, 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.001662/0.001662, allocations: 219.5 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.002459/0.002459, allocations: 293.9 kB / 313.5 MB, free: 2.844 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.165/1.165, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [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.002798/0.002798, allocations: 95.12 kB / 0.7408 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1682, allocations: 95.39 MB / 0.834 GB, free: 8.156 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002616/0.1708, allocations: 1.473 MB / 0.8354 GB, free: 6.672 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003062/0.1711, allocations: 104.5 kB / 0.8355 GB, free: 6.566 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.1711, allocations: 4 kB / 0.8355 GB, free: 6.562 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.1712, allocations: 0 / 0.8355 GB, free: 6.562 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.1712, allocations: 7.922 kB / 0.8355 GB, free: 6.555 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1715, allocations: 23.92 kB / 0.8355 GB, free: 6.531 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.1715, allocations: 15.98 kB / 0.8355 GB, free: 6.516 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.1716, allocations: 8 kB / 0.8356 GB, free: 6.508 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.45e-05/0.1716, allocations: 4 kB / 0.8356 GB, free: 6.504 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.1717, allocations: 15.86 kB / 0.8356 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.1717, allocations: 4 kB / 0.8356 GB, free: 6.484 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.1718, allocations: 23.97 kB / 0.8356 GB, free: 6.461 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.1718, allocations: 19.86 kB / 0.8356 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.1718, allocations: 11.92 kB / 0.8356 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1719, allocations: 35.89 kB / 0.8357 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1719, allocations: 0 / 0.8357 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1719, allocations: 3.938 kB / 0.8357 GB, free: 6.391 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.172, allocations: 0 / 0.8357 GB, free: 6.391 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.0004474/0.1724, allocations: 270.2 kB / 0.8359 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1724, allocations: 13.94 kB / 0.8359 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1725, allocations: 0.9375 kB / 0.8359 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1726, allocations: 118.5 kB / 0.8361 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1726, allocations: 384 / 0.8361 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1726, allocations: 4.312 kB / 0.8361 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1728, allocations: 54.23 kB / 0.8361 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1728, allocations: 192 / 0.8361 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1728, allocations: 3.938 kB / 0.8361 GB, free: 5.875 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1728, allocations: 0 / 0.8361 GB, free: 5.875 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1729, allocations: 39.95 kB / 0.8361 GB, free: 5.836 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.1733, allocations: 224 kB / 0.8364 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1734, allocations: 46.44 kB / 0.8364 GB, free: 5.52 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.1735, allocations: 20.91 kB / 0.8364 GB, free: 5.496 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1735, allocations: 7.969 kB / 0.8364 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1735, allocations: 34.56 kB / 0.8365 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1735, allocations: 0 / 0.8365 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.000323/0.1739, allocations: 85.64 kB / 0.8365 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1739, allocations: 51.41 kB / 0.8366 GB, free: 5.293 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.174, allocations: 113.8 kB / 0.8367 GB, free: 5.172 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.174, allocations: 29.83 kB / 0.8367 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1741, allocations: 84.14 kB / 0.8368 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.1741, allocations: 7.891 kB / 0.8368 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1741, allocations: 17.72 kB / 0.8368 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1743, allocations: 314.8 kB / 0.8371 GB, free: 4.703 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.1743, allocations: 19.98 kB / 0.8372 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.1744, allocations: 11.98 kB / 0.8372 GB, free: 4.672 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.1746, allocations: 48.88 kB / 0.8372 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1746, allocations: 0 / 0.8372 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.1748, allocations: 77.55 kB / 0.8373 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1748, allocations: 8 kB / 0.8373 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1748, allocations: 0 / 0.8373 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1748, allocations: 3.938 kB / 0.8373 GB, free: 4.527 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.1749, allocations: 11.97 kB / 0.8373 GB, free: 4.516 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.1749, allocations: 4 kB / 0.8373 GB, free: 4.512 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.1749, allocations: 3.984 kB / 0.8373 GB, free: 4.508 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.1749, allocations: 7.938 kB / 0.8373 GB, free: 4.5 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 (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 prepare postOptimizeDAE: time 7.699e-05/0.175, allocations: 110.4 kB / 0.8374 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.175, allocations: 4 kB / 0.8374 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.1752, allocations: 81.27 kB / 0.8375 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1752, allocations: 256 / 0.8375 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1752, allocations: 0 / 0.8375 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1752, allocations: 4 kB / 0.8375 GB, free: 4.285 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.1754, allocations: 140.7 kB / 0.8377 GB, free: 4.105 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1754, allocations: 0 / 0.8377 GB, free: 4.105 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.1755, allocations: 11.94 kB / 0.8377 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1755, allocations: 0 / 0.8377 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1755, allocations: 0 / 0.8377 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1755, allocations: 3.984 kB / 0.8377 GB, free: 4.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1755, allocations: 4.031 kB / 0.8377 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1757, allocations: 163.5 kB / 0.8378 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.1757, allocations: 11.94 kB / 0.8378 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.1757, allocations: 0 / 0.8378 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.1758, allocations: 4 kB / 0.8378 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1758, allocations: 12.02 kB / 0.8379 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1758, allocations: 0 / 0.8379 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.1759, allocations: 83.28 kB / 0.8379 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1759, allocations: 0 / 0.8379 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002136/0.1761, allocations: 11.98 kB / 0.8379 GB, free: 3.789 MB / 0.5763 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.000131/0.1762, allocations: 96.38 kB / 0.838 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1764, allocations: 47.89 kB / 0.8381 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1764, allocations: 0 / 0.8381 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.1765, allocations: 19.98 kB / 0.8381 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1767, allocations: 11.88 kB / 0.8381 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.177, allocations: 137 kB / 0.8382 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1774, allocations: 0.6807 MB / 0.8389 GB, free: 2.738 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.1774, allocations: 11.44 kB / 0.8389 GB, free: 2.727 MB / 0.5763 GB Notification: Performance of SimCode: time 3.1e-07/0.1774, allocations: 4.125 kB / 0.8389 GB, free: 2.723 MB / 0.5763 GB Notification: Performance of Templates: time 0.002239/0.1796, allocations: 0.6629 MB / 0.8396 GB, free: 2.062 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.069130720105022] Failed to read output from testmodel.py, exit status != 0: 0.18661011196672916 0.20157884 0.026654064 Calling exit ...