Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001292/0.001292, allocations: 112.2 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001357/0.001357, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002438/0.002438, allocations: 289.9 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 105.7 kB / 0.7343 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1927, allocations: 95.34 MB / 0.8274 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002696/0.1954, allocations: 1.457 MB / 0.8288 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003258/0.1957, allocations: 113 kB / 0.8289 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.1957, allocations: 0 / 0.8289 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.177e-05/0.1958, allocations: 3.938 kB / 0.8289 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.378e-05/0.1958, allocations: 0 / 0.8289 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1961, allocations: 23.92 kB / 0.8289 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.1961, allocations: 19.92 kB / 0.8289 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1962, allocations: 8 kB / 0.8289 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.1963, allocations: 15.91 kB / 0.829 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.1963, allocations: 8 kB / 0.829 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1963, allocations: 4 kB / 0.829 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.1964, allocations: 23.97 kB / 0.829 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.1964, allocations: 7.938 kB / 0.829 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1965, allocations: 11.94 kB / 0.829 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1966, allocations: 32.11 kB / 0.829 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.1966, allocations: 8 kB / 0.829 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1966, allocations: 0 / 0.829 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1966, allocations: 0 / 0.829 GB, free: 8.082 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005129/0.1972, allocations: 339.4 kB / 0.8294 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1972, allocations: 20.02 kB / 0.8294 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1972, allocations: 30.75 kB / 0.8294 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.1973, allocations: 0.9375 kB / 0.8294 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1974, allocations: 180.3 kB / 0.8296 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1974, allocations: 384 / 0.8296 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-06/0.1974, allocations: 384 / 0.8296 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1976, allocations: 54.23 kB / 0.8296 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1976, allocations: 3.938 kB / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1976, allocations: 0 / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1976, allocations: 0 / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1978, allocations: 39.95 kB / 0.8297 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1982, allocations: 256.9 kB / 0.8299 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1983, allocations: 42.5 kB / 0.83 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.1984, allocations: 24.91 kB / 0.83 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.1984, allocations: 7.984 kB / 0.83 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1985, allocations: 30.56 kB / 0.83 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1985, allocations: 0 / 0.83 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003701/0.1988, allocations: 89.58 kB / 0.8301 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1989, allocations: 55.53 kB / 0.8302 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.199, allocations: 113.8 kB / 0.8303 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.199, allocations: 25.7 kB / 0.8303 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.199, allocations: 80.14 kB / 0.8304 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1991, allocations: 11.89 kB / 0.8304 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1991, allocations: 13.72 kB / 0.8304 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1992, allocations: 314.8 kB / 0.8307 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.1993, allocations: 19.98 kB / 0.8307 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.1994, allocations: 19.98 kB / 0.8307 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1996, allocations: 44.81 kB / 0.8308 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1996, allocations: 3.938 kB / 0.8308 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002111/0.1998, allocations: 73.55 kB / 0.8309 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1998, allocations: 16.03 kB / 0.8309 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1998, allocations: 0 / 0.8309 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1998, allocations: 0 / 0.8309 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.1999, allocations: 4 kB / 0.8309 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1999, allocations: 4 kB / 0.8309 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.2, allocations: 7.984 kB / 0.8309 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.2, allocations: 0 / 0.8309 GB, free: 5.957 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.053e-05/0.2001, allocations: 114.4 kB / 0.831 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.2001, allocations: 4 kB / 0.831 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.2003, allocations: 85.11 kB / 0.8311 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2003, allocations: 0 / 0.8311 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2004, allocations: 0 / 0.8311 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2004, allocations: 0 / 0.8311 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.2005, allocations: 165.6 kB / 0.8312 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2005, allocations: 0 / 0.8312 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.2006, allocations: 8.25 kB / 0.8313 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2006, allocations: 0 / 0.8313 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.2006, allocations: 8.031 kB / 0.8313 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2006, allocations: 3.984 kB / 0.8313 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2006, allocations: 3.984 kB / 0.8313 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.2009, allocations: 171.4 kB / 0.8314 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.2009, allocations: 77.11 kB / 0.8315 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.2009, allocations: 0 / 0.8315 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.201, allocations: 12.02 kB / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.201, allocations: 0 / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.201, allocations: 4 kB / 0.8315 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.2011, allocations: 87.22 kB / 0.8316 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2011, allocations: 0 / 0.8316 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002257/0.2013, allocations: 8 kB / 0.8316 GB, free: 5.121 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0006243/0.2019, allocations: 0.7085 MB / 0.8323 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2022, allocations: 39.95 kB / 0.8323 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2022, allocations: 0 / 0.8323 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/0.2023, allocations: 28.02 kB / 0.8324 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2026, allocations: 3.938 kB / 0.8324 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.203, allocations: 152.8 kB / 0.8325 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2034, allocations: 0.6768 MB / 0.8332 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.2034, allocations: 0 / 0.8332 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.2034, allocations: 11.44 kB / 0.8332 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2034, allocations: 0 / 0.8332 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.228, allocations: 1.449 MB / 0.8346 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.02, allocations: 10.89 kB / 0.8346 GB, free: 2.055 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.23263266775757] Failed to read output from testmodel.py, exit status != 0: 8.088271806947887 8.114318203 7.912929119 Calling exit ...