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.001397/0.001397, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001203/0.001203, allocations: 165 kB / 24.16 MB, free: 332 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 0.9621/0.9621, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.971/1.971, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.373e-06/1.373e-06, allocations: 0 / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.229e-05, allocations: 3.094 kB / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0009162/0.0009285, allocations: 0.6105 MB / 0.7758 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.001085, allocations: 29.67 kB / 0.7758 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-06/0.001095, allocations: 1.25 kB / 0.7758 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.001106, allocations: 0 / 0.7758 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.001111, allocations: 0 / 0.7758 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.001337, allocations: 18.36 kB / 0.7758 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.217e-05/0.001369, allocations: 0 / 0.7758 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.84e-05/0.001397, allocations: 4 kB / 0.7759 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.001424, allocations: 0 / 0.7759 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.43e-05/0.001438, allocations: 1.094 kB / 0.7759 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.001448, allocations: 0 / 0.7759 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.001504, allocations: 15.97 kB / 0.7759 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.001511, allocations: 2.344 kB / 0.7759 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-06/0.00152, allocations: 0 / 0.7759 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 5.749e-05/0.001577, allocations: 20.52 kB / 0.7759 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.001578, allocations: 0 / 0.7759 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.71e-07/0.001579, allocations: 0 / 0.7759 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.484e-06/0.001581, allocations: 0 / 0.7759 GB, free: 4.672 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.0001761/0.001758, allocations: 214 kB / 0.7761 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.001787, allocations: 13.34 kB / 0.7761 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.001805, allocations: 2.219 kB / 0.7761 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.125e-05/0.001857, allocations: 105.8 kB / 0.7762 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.001865, allocations: 384 / 0.7762 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.001873, allocations: 4.375 kB / 0.7762 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.265e-05/0.001925, allocations: 37.59 kB / 0.7762 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.001931, allocations: 192 / 0.7762 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-06/0.001936, allocations: 384 / 0.7763 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.001942, allocations: 384 / 0.7763 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.032e-05/0.001952, allocations: 7.938 kB / 0.7763 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.487e-05/0.002007, allocations: 61.05 kB / 0.7763 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.025e-05/0.002037, allocations: 23.16 kB / 0.7763 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.116e-05/0.002049, allocations: 4.859 kB / 0.7763 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.00207, allocations: 4 kB / 0.7763 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.002087, allocations: 38.55 kB / 0.7764 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.002088, allocations: 0 / 0.7764 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 6.308e-05/0.002151, allocations: 29.7 kB / 0.7764 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.002175, allocations: 51.41 kB / 0.7765 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.216e-05/0.002197, allocations: 90.73 kB / 0.7765 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.002204, allocations: 25.7 kB / 0.7766 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.00222, allocations: 80.86 kB / 0.7766 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.002239, allocations: 7.984 kB / 0.7767 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.002256, allocations: 10.62 kB / 0.7767 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.002319, allocations: 322.8 kB / 0.777 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.002331, allocations: 4 kB / 0.777 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.002336, allocations: 5.25 kB / 0.777 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.738e-05/0.002353, allocations: 9.734 kB / 0.777 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.002355, allocations: 0.8125 kB / 0.777 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.696e-05/0.002382, allocations: 31.11 kB / 0.777 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.944e-06/0.00239, allocations: 4 kB / 0.777 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.002392, allocations: 0 / 0.777 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.002403, allocations: 0 / 0.777 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.702e-05/0.00244, allocations: 8.516 kB / 0.777 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.002442, allocations: 0 / 0.777 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-06/0.002448, allocations: 2.344 kB / 0.777 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.002456, allocations: 0 / 0.777 GB, free: 3.359 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 4.159e-05/0.002498, allocations: 119.4 kB / 0.7772 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-06/0.0025, allocations: 0 / 0.7772 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.002553, allocations: 39.12 kB / 0.7772 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.002554, allocations: 0 / 0.7772 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.002555, allocations: 0 / 0.7772 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.002558, allocations: 4 kB / 0.7772 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.624e-05/0.002594, allocations: 65.84 kB / 0.7773 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.002595, allocations: 0.5625 kB / 0.7773 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.0026, allocations: 1.188 kB / 0.7773 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.0026, allocations: 0 / 0.7773 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-06/0.002604, allocations: 8 kB / 0.7773 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.002604, allocations: 1.344 kB / 0.7773 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.002605, allocations: 0.6562 kB / 0.7773 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.339e-05/0.002638, allocations: 61 kB / 0.7773 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.002643, allocations: 8.609 kB / 0.7773 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-06/0.002648, allocations: 0 / 0.7773 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-06/0.002651, allocations: 1.344 kB / 0.7773 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.00266, allocations: 3.984 kB / 0.7773 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.002662, allocations: 0.875 kB / 0.7773 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.64e-06/0.002668, allocations: 9.75 kB / 0.7773 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.002668, allocations: 0.5 kB / 0.7773 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.8e-05/0.002756, allocations: 1.125 kB / 0.7773 GB, free: 2.996 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 8.054e-05/0.002836, allocations: 89.41 kB / 0.7774 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.735e-05/0.002874, allocations: 8.859 kB / 0.7774 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.002875, allocations: 0 / 0.7774 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-06/0.002882, allocations: 10.64 kB / 0.7775 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.665e-05/0.002919, allocations: 11.92 kB / 0.7775 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001112/0.00303, allocations: 72.05 kB / 0.7775 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.098e-05/0.003051, allocations: 51.36 kB / 0.7776 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.475e-05/0.003066, allocations: 5.125 kB / 0.7776 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.003092, allocations: 52.3 kB / 0.7776 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.003092, allocations: 0.875 kB / 0.7776 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of Templates: time 0.001443/0.004535, allocations: 332.9 kB / 0.778 GB, free: 2.332 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: 4.881354405544698]