Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001363/0.001363, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001494/0.001494, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.456/1.456, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002692/0.002692, allocations: 234.4 kB / 259.8 MB, free: 12.84 MB / 250.7 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.087/1.087, allocations: 138.5 MB / 454.7 MB, free: 1.48 MB / 362.7 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5544 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.888e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001821/0.001849, allocations: 0.5924 MB / 0.555 GB, free: 220 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002502/0.0021, allocations: 35.88 kB / 0.555 GB, free: 184 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.171e-05/0.002111, allocations: 0 / 0.555 GB, free: 184 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.002123, allocations: 4 kB / 0.555 GB, free: 180 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.002129, allocations: 0 / 0.555 GB, free: 180 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.002432, allocations: 19.91 kB / 0.555 GB, free: 160 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.002472, allocations: 0 / 0.555 GB, free: 160 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.002515, allocations: 4 kB / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.002542, allocations: 0 / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.583e-05/0.002567, allocations: 0 / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.002579, allocations: 0 / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.002681, allocations: 19.97 kB / 0.555 GB, free: 136 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.002691, allocations: 0 / 0.555 GB, free: 136 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.002711, allocations: 0 / 0.555 GB, free: 136 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.002825, allocations: 31.84 kB / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.002827, allocations: 0 / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002828, allocations: 0 / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.002831, allocations: 0 / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003979/0.003229, allocations: 242.5 kB / 0.5553 GB, free: 15.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.003269, allocations: 8.75 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.003312, allocations: 0.9375 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.003411, allocations: 101.8 kB / 0.5554 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.003425, allocations: 4.375 kB / 0.5554 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.003435, allocations: 4.312 kB / 0.5554 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.003534, allocations: 34.25 kB / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.003541, allocations: 192 / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.003549, allocations: 384 / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.003557, allocations: 4.375 kB / 0.5555 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.003578, allocations: 3.938 kB / 0.5555 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.003726, allocations: 97.33 kB / 0.5555 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.088e-05/0.003777, allocations: 18.61 kB / 0.5556 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.003798, allocations: 8.797 kB / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.003838, allocations: 4.062 kB / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.003884, allocations: 34.55 kB / 0.5556 GB, free: 15.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 3.216e-06/0.003887, allocations: 4 kB / 0.5556 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001451/0.004033, allocations: 33.7 kB / 0.5556 GB, free: 15.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.004087, allocations: 55.41 kB / 0.5557 GB, free: 15.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.004141, allocations: 89.86 kB / 0.5558 GB, free: 15.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.004161, allocations: 25.7 kB / 0.5558 GB, free: 15.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.004204, allocations: 80.14 kB / 0.5559 GB, free: 15.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.00423, allocations: 3.953 kB / 0.5559 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.004263, allocations: 13.72 kB / 0.5559 GB, free: 15.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.004432, allocations: 318.8 kB / 0.5562 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.004445, allocations: 3.938 kB / 0.5562 GB, free: 14.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.004459, allocations: 8.125 kB / 0.5562 GB, free: 14.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.004495, allocations: 12.86 kB / 0.5562 GB, free: 14.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004496, allocations: 0 / 0.5562 GB, free: 14.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.206e-05/0.004558, allocations: 33.64 kB / 0.5563 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.004576, allocations: 7.125 kB / 0.5563 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.00458, allocations: 0 / 0.5563 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.004599, allocations: 8 kB / 0.5563 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.004653, allocations: 3.984 kB / 0.5563 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.004657, allocations: 0 / 0.5563 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.004675, allocations: 7.922 kB / 0.5563 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.004688, allocations: 8.094 kB / 0.5563 GB, free: 14.67 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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 9.278e-05/0.004781, allocations: 109.8 kB / 0.5564 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.00479, allocations: 0 / 0.5564 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.004904, allocations: 44.69 kB / 0.5564 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004906, allocations: 0 / 0.5564 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.00491, allocations: 0 / 0.5564 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004913, allocations: 0 / 0.5564 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.888e-05/0.005012, allocations: 109.2 kB / 0.5565 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005013, allocations: 0 / 0.5565 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.005031, allocations: 0 / 0.5565 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.005033, allocations: 0 / 0.5565 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.005039, allocations: 0 / 0.5565 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00504, allocations: 4 kB / 0.5566 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005041, allocations: 0 / 0.5566 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.818e-05/0.005139, allocations: 69 kB / 0.5566 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-06/0.005143, allocations: 0 / 0.5566 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.005153, allocations: 0 / 0.5566 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.005164, allocations: 0 / 0.5566 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.00518, allocations: 8.016 kB / 0.5566 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.005187, allocations: 4 kB / 0.5566 GB, free: 14.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.005228, allocations: 75.28 kB / 0.5567 GB, free: 14.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005228, allocations: 0 / 0.5567 GB, free: 14.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.005437, allocations: 4 kB / 0.5567 GB, free: 14.19 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.000161/0.005598, allocations: 103.2 kB / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.395e-05/0.005662, allocations: 4 kB / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.005664, allocations: 0 / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.005679, allocations: 8 kB / 0.5568 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.005818, allocations: 8 kB / 0.5568 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.006037, allocations: 86.2 kB / 0.5569 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.006186, allocations: 55.36 kB / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.006207, allocations: 0 / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.006237, allocations: 12.5 kB / 0.557 GB, free: 13.87 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006238, allocations: 4.062 kB / 0.557 GB, free: 13.86 MB / 490.7 MB Notification: Performance of Templates: time 0.002711/0.008949, allocations: 316.5 kB / 0.5573 GB, free: 13.55 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.504573737969622]