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.001282/0.001282, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001765/0.001765, allocations: 215 kB / 22.25 MB, free: 5.262 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.801 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.00265/0.00265, allocations: 300 kB / 312.7 MB, free: 2.609 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.292/1.292, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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 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="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.002946/0.002946, allocations: 99.86 kB / 0.7395 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1799, allocations: 95.38 MB / 0.8327 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001669/0.1816, allocations: 0.5922 MB / 0.8333 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.1818, allocations: 31.89 kB / 0.8333 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.1818, allocations: 0 / 0.8333 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.1819, allocations: 3.938 kB / 0.8333 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.1819, allocations: 0 / 0.8333 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1821, allocations: 19.92 kB / 0.8333 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.702e-05/0.1822, allocations: 4 kB / 0.8333 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.1822, allocations: 4.406 kB / 0.8333 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.069e-05/0.1822, allocations: 0 / 0.8333 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.24e-05/0.1822, allocations: 0 / 0.8333 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.1823, allocations: 0 / 0.8333 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-05/0.1823, allocations: 19.97 kB / 0.8333 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.1824, allocations: 0 / 0.8333 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.1824, allocations: 0 / 0.8333 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1825, allocations: 15.97 kB / 0.8334 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1825, allocations: 4 kB / 0.8334 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1825, allocations: 0 / 0.8334 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1825, allocations: 0 / 0.8334 GB, free: 7.547 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.0003058/0.1828, allocations: 246.6 kB / 0.8336 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1828, allocations: 13.34 kB / 0.8336 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1829, allocations: 34.69 kB / 0.8336 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.1829, allocations: 0.9375 kB / 0.8336 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.183, allocations: 106.5 kB / 0.8337 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.183, allocations: 4.375 kB / 0.8337 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.183, allocations: 4.312 kB / 0.8338 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.855e-05/0.1831, allocations: 38.25 kB / 0.8338 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.1831, allocations: 3.938 kB / 0.8338 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.1831, allocations: 0 / 0.8338 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1831, allocations: 4 kB / 0.8338 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.1831, allocations: 0 / 0.8338 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.1832, allocations: 116.8 kB / 0.8339 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.1833, allocations: 22.55 kB / 0.8339 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.1833, allocations: 4.859 kB / 0.8339 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.1833, allocations: 8.047 kB / 0.8339 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1834, allocations: 38.55 kB / 0.834 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1834, allocations: 0 / 0.834 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.1835, allocations: 41.64 kB / 0.834 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1835, allocations: 51.41 kB / 0.8341 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.454e-05/0.1836, allocations: 89.86 kB / 0.8342 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1836, allocations: 25.7 kB / 0.8342 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.1836, allocations: 80.14 kB / 0.8343 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1837, allocations: 3.938 kB / 0.8343 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.1837, allocations: 13.72 kB / 0.8343 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1838, allocations: 318.8 kB / 0.8346 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.1838, allocations: 0 / 0.8346 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.1838, allocations: 4.125 kB / 0.8346 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.1839, allocations: 8.922 kB / 0.8346 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1839, allocations: 4 kB / 0.8346 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.584e-05/0.1839, allocations: 29.7 kB / 0.8346 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1839, allocations: 4 kB / 0.8346 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1839, allocations: 3.938 kB / 0.8346 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.1839, allocations: 0 / 0.8346 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.813e-05/0.184, allocations: 7.984 kB / 0.8346 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.184, allocations: 3.938 kB / 0.8346 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.184, allocations: 0 / 0.8346 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.184, allocations: 12.03 kB / 0.8347 GB, free: 6.031 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 7.066e-05/0.1841, allocations: 110.5 kB / 0.8348 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.1841, allocations: 0 / 0.8348 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.1842, allocations: 44.62 kB / 0.8348 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1842, allocations: 0 / 0.8348 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1842, allocations: 3.938 kB / 0.8348 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1842, allocations: 0 / 0.8348 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.022e-05/0.1843, allocations: 124.7 kB / 0.8349 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1843, allocations: 4 kB / 0.8349 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.1843, allocations: 0 / 0.8349 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1843, allocations: 3.984 kB / 0.8349 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1843, allocations: 3.938 kB / 0.8349 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1843, allocations: 0 / 0.8349 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1843, allocations: 4 kB / 0.8349 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.646e-05/0.1844, allocations: 53.08 kB / 0.835 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.1844, allocations: 8 kB / 0.835 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1844, allocations: 7.922 kB / 0.835 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.1844, allocations: 0 / 0.835 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.1844, allocations: 4.031 kB / 0.835 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1844, allocations: 4 kB / 0.835 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.1845, allocations: 75.28 kB / 0.8351 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1845, allocations: 0 / 0.8351 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000178/0.1846, allocations: 7.938 kB / 0.8351 GB, free: 5.504 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.0004115/0.1851, allocations: 0.5968 MB / 0.8357 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.965e-05/0.1851, allocations: 4 kB / 0.8357 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1851, allocations: 0 / 0.8357 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.1851, allocations: 8.094 kB / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1853, allocations: 0 / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.1855, allocations: 110.7 kB / 0.8358 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.1856, allocations: 55.36 kB / 0.8358 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.1856, allocations: 0 / 0.8358 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1856, allocations: 15.5 kB / 0.8359 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1856, allocations: 3.938 kB / 0.8359 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.2116, allocations: 1.536 MB / 0.8374 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.02, allocations: 14.66 kB / 0.8374 GB, free: 3.215 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.305353085976094] Failed to read output from testmodel.py, exit status != 0: 11.151613844558597 11.182278356 10.994456054 Calling exit ...