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.001015/0.001015, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001094/0.001094, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 0.8832/0.8832, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.806/1.806, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.558e-05, allocations: 5.797 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001804/0.00183, allocations: 0.5994 MB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001908/0.00202, allocations: 23.84 kB / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.002035, allocations: 7.938 kB / 1.001 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.002047, allocations: 0 / 1.001 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.002053, allocations: 0 / 1.001 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.002335, allocations: 7.984 kB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.002382, allocations: 0 / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.002427, allocations: 15.98 kB / 1.001 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.002456, allocations: 4 kB / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.002478, allocations: 0 / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.002493, allocations: 0 / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.002567, allocations: 19.91 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.002575, allocations: 0 / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.429e-05/0.00259, allocations: 0 / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.002681, allocations: 15.98 kB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.002683, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002684, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.002689, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.9636 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.0002459/0.002934, allocations: 230.5 kB / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.002975, allocations: 9.344 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.003009, allocations: 42.73 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.003029, allocations: 0.9375 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.624e-05/0.003086, allocations: 109.7 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.003094, allocations: 384 / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.003101, allocations: 384 / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.902e-05/0.00318, allocations: 30.27 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.003187, allocations: 4.125 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.003194, allocations: 384 / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003199, allocations: 4.125 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.003217, allocations: 4 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.697e-05/0.003314, allocations: 120.8 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.003355, allocations: 26.55 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.003369, allocations: 4.859 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.003398, allocations: 0 / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.003415, allocations: 34.62 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.003416, allocations: 0 / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001083/0.003524, allocations: 37.67 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.003551, allocations: 55.34 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.541e-05/0.003577, allocations: 89.86 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.003588, allocations: 29.77 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.003608, allocations: 92.14 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.003637, allocations: 3.953 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.003657, allocations: 9.719 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.003737, allocations: 314.8 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-06/0.003745, allocations: 3.938 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-06/0.00375, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.003774, allocations: 8.859 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.003775, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.694e-05/0.003812, allocations: 41.69 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.003825, allocations: 10.75 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.003829, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.003839, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.003898, allocations: 7.938 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.003903, allocations: 3.938 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-06/0.003911, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.003923, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 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.908e-05/0.003973, allocations: 116.4 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-06/0.003977, allocations: 3.984 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.004052, allocations: 40.7 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.004054, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.004058, allocations: 3.938 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.00406, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.363e-05/0.004114, allocations: 120.7 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004115, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.004124, allocations: 4 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004125, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.00413, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.004131, allocations: 4.031 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.004133, allocations: 3.938 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.607e-05/0.004179, allocations: 65.06 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-06/0.004181, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-06/0.004188, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-06/0.004193, allocations: 4 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.004206, allocations: 3.938 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.004208, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.816e-05/0.004226, allocations: 75.28 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004226, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001291/0.004356, allocations: 4 kB / 1.003 GB, free: 10.75 MB / 0.9636 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.0002588/0.004614, allocations: 0.6007 MB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.336e-05/0.004668, allocations: 7.984 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.004669, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-06/0.004674, allocations: 4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.66e-05/0.00477, allocations: 3.938 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.005005, allocations: 106.7 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.005037, allocations: 59.34 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.005054, allocations: 8.094 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.005076, allocations: 12.5 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.005076, allocations: 0 / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07696/0.08204, allocations: 1.635 MB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.324, allocations: 8.453 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB " [Timeout remaining time 293] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial_fmpy_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Polynomial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.772933036088943]