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.001272/0.001272, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001407/0.001407, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.004139/0.004139, allocations: 283.7 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.306/1.306, allocations: 180.6 MB / 0.5377 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",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.002864/0.002864, allocations: 99.64 kB / 0.7403 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2073, allocations: 95.38 MB / 0.8334 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.002396/0.2097, allocations: 0.5999 MB / 0.834 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.21, allocations: 35.88 kB / 0.8341 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.21, allocations: 0 / 0.8341 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.21, allocations: 0 / 0.8341 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.21, allocations: 0 / 0.8341 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.2104, allocations: 19.92 kB / 0.8341 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.2104, allocations: 7.984 kB / 0.8341 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.2105, allocations: 416 / 0.8341 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.2105, allocations: 0 / 0.8341 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.2105, allocations: 4 kB / 0.8341 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2105, allocations: 0 / 0.8341 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2107, allocations: 23.91 kB / 0.8341 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2107, allocations: 4 kB / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.2107, allocations: 0 / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.2108, allocations: 11.97 kB / 0.8341 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2108, allocations: 4 kB / 0.8341 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2108, allocations: 4 kB / 0.8341 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.2108, allocations: 0 / 0.8341 GB, free: 7.586 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.0003537/0.2112, allocations: 246.6 kB / 0.8344 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.2112, allocations: 9.938 kB / 0.8344 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.438e-05/0.2112, allocations: 192 / 0.8344 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.2113, allocations: 38.69 kB / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.2113, allocations: 0.9375 kB / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.2114, allocations: 106.5 kB / 0.8345 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2114, allocations: 4.312 kB / 0.8345 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2114, allocations: 384 / 0.8345 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.2115, allocations: 42.02 kB / 0.8346 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2115, allocations: 3.984 kB / 0.8346 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2116, allocations: 0 / 0.8346 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2116, allocations: 0 / 0.8346 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.2116, allocations: 4 kB / 0.8346 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2117, allocations: 116.8 kB / 0.8347 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.2118, allocations: 22.55 kB / 0.8347 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.2118, allocations: 8.859 kB / 0.8347 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.2119, allocations: 0 / 0.8347 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2119, allocations: 38.56 kB / 0.8347 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.2119, allocations: 4 kB / 0.8348 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.212, allocations: 33.69 kB / 0.8348 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2121, allocations: 59.28 kB / 0.8348 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/0.2121, allocations: 89.86 kB / 0.8349 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2122, allocations: 29.7 kB / 0.835 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.2122, allocations: 80.14 kB / 0.835 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.2123, allocations: 0 / 0.835 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.2123, allocations: 13.72 kB / 0.835 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2125, allocations: 314.8 kB / 0.8353 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.2125, allocations: 0 / 0.8353 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-06/0.2125, allocations: 8.109 kB / 0.8354 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.2125, allocations: 8.859 kB / 0.8354 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2125, allocations: 0 / 0.8354 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.905e-05/0.2126, allocations: 41.64 kB / 0.8354 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2126, allocations: 7.938 kB / 0.8354 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2126, allocations: 0 / 0.8354 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2126, allocations: 0 / 0.8354 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.2127, allocations: 4 kB / 0.8354 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2127, allocations: 0 / 0.8354 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.2127, allocations: 4.078 kB / 0.8354 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2127, allocations: 4 kB / 0.8354 GB, free: 6.074 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.0001001/0.2128, allocations: 110.5 kB / 0.8355 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.2128, allocations: 7.922 kB / 0.8355 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.213, allocations: 36.69 kB / 0.8356 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.213, allocations: 0 / 0.8356 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.213, allocations: 4 kB / 0.8356 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.213, allocations: 0 / 0.8356 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.2131, allocations: 120.8 kB / 0.8357 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2131, allocations: 0 / 0.8357 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.2132, allocations: 7.938 kB / 0.8357 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2132, allocations: 7.875 kB / 0.8357 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2132, allocations: 0 / 0.8357 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2132, allocations: 0 / 0.8357 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2132, allocations: 0 / 0.8357 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.978e-05/0.2133, allocations: 61.12 kB / 0.8358 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-06/0.2133, allocations: 0 / 0.8358 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.2133, allocations: 3.938 kB / 0.8358 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.2133, allocations: 8.031 kB / 0.8358 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.2133, allocations: 7.922 kB / 0.8358 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2133, allocations: 0 / 0.8358 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.2134, allocations: 75.28 kB / 0.8359 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2134, allocations: 0 / 0.8359 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002196/0.2136, allocations: 7.938 kB / 0.8359 GB, free: 5.547 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.000495/0.2141, allocations: 0.6007 MB / 0.8364 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.2142, allocations: 4 kB / 0.8364 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2142, allocations: 4.094 kB / 0.8365 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.2142, allocations: 0 / 0.8365 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2143, allocations: 4 kB / 0.8365 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.2147, allocations: 114.6 kB / 0.8366 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.263e-05/0.2147, allocations: 55.36 kB / 0.8366 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.2147, allocations: 0 / 0.8366 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.2148, allocations: 15.5 kB / 0.8366 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2148, allocations: 0 / 0.8366 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.2363, allocations: 1.186 MB / 0.8378 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.13, allocations: 7.516 kB / 0.8378 GB, free: 3.617 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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: 15.537934461957775] Failed to read output from testmodel.py, exit status != 0: 11.286056002951227 11.307486858 11.0934813 Calling exit ...