Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001298/0.001298, 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.001565/0.001565, 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.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.002488/0.002488, allocations: 295.4 kB / 309.1 MB, free: 3.973 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.218/1.218, allocations: 180.9 MB / 0.5333 GB, free: 13.87 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.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.003856/0.003856, allocations: 103.9 kB / 0.7343 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2276, allocations: 95.34 MB / 0.8274 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.002441/0.23, allocations: 0.5976 MB / 0.828 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.2303, allocations: 35.88 kB / 0.828 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.575e-05/0.2303, allocations: 0 / 0.828 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.2304, allocations: 0 / 0.828 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.2304, allocations: 0 / 0.828 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.2307, allocations: 23.88 kB / 0.828 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.904e-05/0.2308, allocations: 3.984 kB / 0.828 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.2308, allocations: 4 kB / 0.828 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.2309, allocations: 3.984 kB / 0.8281 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.2309, allocations: 0 / 0.8281 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.2309, allocations: 0 / 0.8281 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2311, allocations: 15.98 kB / 0.8281 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.2311, allocations: 0 / 0.8281 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.2311, allocations: 0 / 0.8281 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.2313, allocations: 19.97 kB / 0.8281 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2313, allocations: 4 kB / 0.8281 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.527e-06/0.2313, allocations: 0 / 0.8281 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2313, allocations: 0 / 0.8281 GB, free: 9.164 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005706/0.2319, allocations: 311.8 kB / 0.8284 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/0.2319, allocations: 12.03 kB / 0.8284 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.232, allocations: 30.75 kB / 0.8284 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.232, allocations: 4.922 kB / 0.8284 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2322, allocations: 164.3 kB / 0.8286 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2322, allocations: 4.375 kB / 0.8286 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2323, allocations: 4.375 kB / 0.8286 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.2324, allocations: 34.2 kB / 0.8286 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2325, allocations: 3.938 kB / 0.8286 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2325, allocations: 0 / 0.8286 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2325, allocations: 3.938 kB / 0.8286 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.166e-05/0.2325, allocations: 0 / 0.8286 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.2328, allocations: 149.7 kB / 0.8288 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.2328, allocations: 22.52 kB / 0.8288 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.2329, allocations: 12.95 kB / 0.8288 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.2329, allocations: 0 / 0.8288 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.233, allocations: 30.56 kB / 0.8288 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.233, allocations: 0 / 0.8288 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002137/0.2332, allocations: 41.62 kB / 0.8289 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.2332, allocations: 51.41 kB / 0.8289 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.2333, allocations: 89.86 kB / 0.829 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2333, allocations: 29.77 kB / 0.829 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.2334, allocations: 88.12 kB / 0.8291 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.2334, allocations: 4 kB / 0.8291 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.2335, allocations: 13.72 kB / 0.8291 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2337, allocations: 310.8 kB / 0.8294 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.2337, allocations: 416 / 0.8294 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.2337, allocations: 0 / 0.8294 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.2337, allocations: 12.84 kB / 0.8295 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2337, allocations: 4.062 kB / 0.8295 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.606e-05/0.2338, allocations: 37.7 kB / 0.8295 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2339, allocations: 4 kB / 0.8295 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2339, allocations: 7.938 kB / 0.8295 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2339, allocations: 0 / 0.8295 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.234, allocations: 7.938 kB / 0.8295 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.234, allocations: 0 / 0.8295 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.234, allocations: 0 / 0.8295 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.234, allocations: 0 / 0.8295 GB, free: 7.469 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 (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 0.0001108/0.2341, allocations: 117.9 kB / 0.8296 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.2342, allocations: 0 / 0.8296 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.2343, allocations: 40.77 kB / 0.8297 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2343, allocations: 0 / 0.8297 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2343, allocations: 4 kB / 0.8297 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.2343, allocations: 7.922 kB / 0.8297 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.2345, allocations: 141.7 kB / 0.8298 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2345, allocations: 8.016 kB / 0.8298 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.2345, allocations: 4 kB / 0.8298 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2345, allocations: 0 / 0.8298 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2345, allocations: 3.938 kB / 0.8298 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2345, allocations: 0 / 0.8298 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2345, allocations: 3.938 kB / 0.8298 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.2346, allocations: 61.12 kB / 0.8299 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2347, allocations: 85 kB / 0.83 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.2347, allocations: 7.969 kB / 0.83 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.2347, allocations: 0 / 0.83 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.2347, allocations: 0 / 0.83 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2347, allocations: 4 kB / 0.83 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.2348, allocations: 75.28 kB / 0.8301 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2348, allocations: 0 / 0.8301 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003351/0.2351, allocations: 11.92 kB / 0.8301 GB, free: 6.805 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 (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.0006105/0.2357, allocations: 0.6085 MB / 0.8307 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2359, allocations: 4 kB / 0.8307 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2359, allocations: 0 / 0.8307 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.2359, allocations: 4 kB / 0.8307 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.2361, allocations: 0 / 0.8307 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.2366, allocations: 114.9 kB / 0.8308 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.2369, allocations: 0.669 MB / 0.8314 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.237, allocations: 3.938 kB / 0.8314 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.237, allocations: 11.44 kB / 0.8314 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.237, allocations: 0 / 0.8314 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2615, allocations: 1.042 MB / 0.8325 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.083, allocations: 12.33 kB / 0.8325 GB, free: 4.359 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.407540280837566] Failed to read output from testmodel.py, exit status != 0: 8.14959081960842 8.163447442 7.929290868 Calling exit ...