Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 71.88 kB / 1.107 GB, free: 5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9584/0.9607, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001632/0.9623, allocations: 0.5929 MB / 1.272 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.9625, allocations: 36.42 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.17e-05/0.9625, allocations: 0 / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.054e-05/0.9625, allocations: 0.7812 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.9625, allocations: 0 / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.9628, allocations: 17.45 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.414e-05/0.9628, allocations: 2.797 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.9629, allocations: 1.406 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.166e-05/0.9629, allocations: 0.9375 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.9629, allocations: 2.875 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.9629, allocations: 0.9062 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/0.963, allocations: 25.48 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.963, allocations: 0 / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.963, allocations: 4.672 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.781e-05/0.9631, allocations: 15.09 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.9631, allocations: 0 / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9631, allocations: 0 / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.9631, allocations: 0 / 1.272 GB, free: 7.277 MB / 0.9981 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.0002214/0.9633, allocations: 327.4 kB / 1.273 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.9634, allocations: 10.8 kB / 1.273 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.896e-05/0.9634, allocations: 30.75 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.9634, allocations: 10.88 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.675e-05/0.9635, allocations: 161.5 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.9635, allocations: 1.125 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.9635, allocations: 1.156 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.9636, allocations: 28.69 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.9636, allocations: 4.906 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.9636, allocations: 0.6094 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.9636, allocations: 0 / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.9636, allocations: 5.594 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.615e-05/0.9637, allocations: 157.3 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/0.9637, allocations: 16.7 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.9637, allocations: 6.766 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.9638, allocations: 1.656 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.9638, allocations: 31.5 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.9638, allocations: 0.8438 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.9639, allocations: 48.81 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.9639, allocations: 52.22 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.396e-05/0.9639, allocations: 90.42 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.9639, allocations: 25.7 kB / 1.273 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.266e-06/0.9639, allocations: 81.14 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.964, allocations: 1.609 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.964, allocations: 11.25 kB / 1.273 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.964, allocations: 313 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-06/0.964, allocations: 5.062 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.964, allocations: 1.5 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.9641, allocations: 13 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9641, allocations: 0 / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.551e-05/0.9641, allocations: 37.27 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9641, allocations: 7.75 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9641, allocations: 3.938 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.9641, allocations: 1.875 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.9642, allocations: 1.844 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9642, allocations: 8.578 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.9642, allocations: 1.25 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.9642, allocations: 1.359 kB / 1.274 GB, free: 5.652 MB / 0.9981 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 3.964e-05/0.9643, allocations: 108.3 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.9643, allocations: 0 / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.876e-05/0.9644, allocations: 49.47 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9644, allocations: 1.453 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9644, allocations: 3.938 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.9644, allocations: 0.875 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.602e-05/0.9644, allocations: 148.4 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9644, allocations: 1.641 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.9644, allocations: 1.594 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.9644, allocations: 4.453 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.9644, allocations: 8.688 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.9644, allocations: 1.266 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9644, allocations: 0 / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.231e-05/0.9645, allocations: 62.88 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.9645, allocations: 81.72 kB / 1.274 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.9645, allocations: 5.906 kB / 1.274 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.9645, allocations: 0.625 kB / 1.274 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.9645, allocations: 4.984 kB / 1.274 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.9645, allocations: 1.656 kB / 1.274 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.217e-05/0.9646, allocations: 76.34 kB / 1.274 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9646, allocations: 4.031 kB / 1.274 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001971/0.9648, allocations: 4.312 kB / 1.274 GB, free: 5.031 MB / 0.9981 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.0002622/0.965, allocations: 0.6086 MB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.9651, allocations: 8.312 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9651, allocations: 4.062 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-06/0.9651, allocations: 2.969 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.9652, allocations: 10.84 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.9655, allocations: 124.8 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.9656, allocations: 0.6707 MB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.9656, allocations: 6.625 kB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.9656, allocations: 8.625 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.9656, allocations: 0 / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.9883, allocations: 1.006 MB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.985, allocations: 5.016 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.067613010003697] Failed to read output from testmodel.py, exit status != 0: 9.057890644005965 9.072712293 8.106626867 Calling exit ...