Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001316/0.001316, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 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.001388/0.001388, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.052/1.052, allocations: 177.1 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.968/1.968, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7754 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.543e-05, allocations: 3.188 kB / 0.7754 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.004719/0.004744, allocations: 0.6648 MB / 0.7761 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002004/0.004944, allocations: 24.62 kB / 0.7761 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.004965, allocations: 0 / 0.7761 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.004981, allocations: 1.469 kB / 0.7761 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-06/0.004987, allocations: 0 / 0.7761 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.005264, allocations: 12.94 kB / 0.7761 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.005311, allocations: 4 kB / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.005351, allocations: 0.9375 kB / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.005381, allocations: 0 / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.864e-05/0.005399, allocations: 1.453 kB / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.005414, allocations: 0 / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.005512, allocations: 31.89 kB / 0.7761 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.005521, allocations: 2.125 kB / 0.7761 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.028e-05/0.005532, allocations: 0 / 0.7761 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.707e-05/0.005609, allocations: 13.39 kB / 0.7762 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005611, allocations: 0 / 0.7762 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005613, allocations: 0 / 0.7762 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.005617, allocations: 0 / 0.7762 GB, free: 4.492 MB / 0.7292 GB 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.0002371/0.005854, allocations: 217.2 kB / 0.7764 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.005896, allocations: 10.31 kB / 0.7764 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.005921, allocations: 1.812 kB / 0.7764 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/0.005997, allocations: 109.8 kB / 0.7765 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.00601, allocations: 2.094 kB / 0.7765 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.00602, allocations: 384 / 0.7765 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.328e-05/0.006093, allocations: 26.27 kB / 0.7765 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.0061, allocations: 192 / 0.7765 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.006108, allocations: 4.969 kB / 0.7765 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.006114, allocations: 384 / 0.7765 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.358e-05/0.006127, allocations: 9.781 kB / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.36e-05/0.006211, allocations: 57.05 kB / 0.7766 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.00625, allocations: 21.55 kB / 0.7766 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.006265, allocations: 8.844 kB / 0.7766 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.006295, allocations: 4.094 kB / 0.7766 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.006318, allocations: 30.56 kB / 0.7766 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.006319, allocations: 0 / 0.7766 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.75e-05/0.006417, allocations: 33.64 kB / 0.7767 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.006452, allocations: 52.28 kB / 0.7767 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.21e-05/0.006484, allocations: 97.61 kB / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.006493, allocations: 25.7 kB / 0.7768 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/0.006516, allocations: 80.14 kB / 0.7769 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.006545, allocations: 0 / 0.7769 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.006574, allocations: 17.7 kB / 0.7769 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.006671, allocations: 314.8 kB / 0.7772 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.006682, allocations: 0 / 0.7772 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.006688, allocations: 0.6562 kB / 0.7772 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.006714, allocations: 8.859 kB / 0.7772 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006716, allocations: 5.531 kB / 0.7772 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.782e-05/0.006764, allocations: 33.7 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.00678, allocations: 7.984 kB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006784, allocations: 4 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006793, allocations: 1.516 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/0.009861, allocations: 0 / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.009864, allocations: 0.9688 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.009876, allocations: 0 / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.009889, allocations: 5.125 kB / 0.7773 GB, free: 3.191 MB / 0.7292 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 (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 5.176e-05/0.009941, allocations: 113.8 kB / 0.7774 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/0.009947, allocations: 3.984 kB / 0.7774 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.01002, allocations: 44.06 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01003, allocations: 4 kB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01003, allocations: 4 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.01003, allocations: 1.125 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.388e-05/0.01008, allocations: 61.84 kB / 0.7775 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01008, allocations: 0 / 0.7775 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.0101, allocations: 9.047 kB / 0.7775 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.0101, allocations: 0 / 0.7775 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.0101, allocations: 1.594 kB / 0.7775 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01011, allocations: 3.984 kB / 0.7775 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01011, allocations: 0.8438 kB / 0.7775 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.089e-05/0.01016, allocations: 62.39 kB / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.01016, allocations: 3.953 kB / 0.7776 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.01017, allocations: 3.984 kB / 0.7776 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-06/0.01018, allocations: 3.938 kB / 0.7776 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.01019, allocations: 4.625 kB / 0.7776 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.01019, allocations: 0 / 0.7776 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.865e-06/0.0102, allocations: 6.281 kB / 0.7776 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0102, allocations: 1.469 kB / 0.7776 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001292/0.01033, allocations: 4 kB / 0.7776 GB, free: 2.816 MB / 0.7292 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 (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.0001211/0.01045, allocations: 82.17 kB / 0.7777 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.357e-05/0.0105, allocations: 12.84 kB / 0.7777 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01051, allocations: 0.6875 kB / 0.7777 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.112e-06/0.01051, allocations: 12.11 kB / 0.7777 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.884e-05/0.01056, allocations: 3.938 kB / 0.7777 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.0107, allocations: 75.47 kB / 0.7778 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.692e-05/0.01073, allocations: 55.3 kB / 0.7779 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.01076, allocations: 0 / 0.7779 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.01079, allocations: 62.16 kB / 0.7779 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.0108, allocations: 0 / 0.7779 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of Templates: time 0.001749/0.01254, allocations: 314.5 kB / 0.7782 GB, free: 2.168 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.069038352929056]