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.001369/0.001369, 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.002338/0.002338, allocations: 212.4 kB / 22.24 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.781 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.002661/0.002661, allocations: 277.2 kB / 312.7 MB, free: 2.59 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.293/1.293, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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.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.002989/0.002989, allocations: 102 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1873, allocations: 95.39 MB / 0.8327 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002862/0.1901, allocations: 1.45 MB / 0.8341 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.1904, allocations: 96.58 kB / 0.8342 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.1905, allocations: 4 kB / 0.8342 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.1905, allocations: 7.875 kB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.215e-05/0.1906, allocations: 4 kB / 0.8342 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1908, allocations: 19.92 kB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.1909, allocations: 27.86 kB / 0.8342 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.1909, allocations: 11.97 kB / 0.8342 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.191, allocations: 4 kB / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.191, allocations: 15.92 kB / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.191, allocations: 4 kB / 0.8343 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.1911, allocations: 15.98 kB / 0.8343 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.1911, allocations: 11.98 kB / 0.8343 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.1912, allocations: 7.938 kB / 0.8343 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1913, allocations: 44.09 kB / 0.8343 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1913, allocations: 0 / 0.8343 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1913, allocations: 0 / 0.8343 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1913, allocations: 0 / 0.8343 GB, free: 6.539 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.0004199/0.1917, allocations: 270.2 kB / 0.8346 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1918, allocations: 9.938 kB / 0.8346 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1918, allocations: 38.69 kB / 0.8346 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.1918, allocations: 8.922 kB / 0.8346 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1919, allocations: 114.5 kB / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1919, allocations: 4.359 kB / 0.8348 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.192, allocations: 384 / 0.8348 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1921, allocations: 50.23 kB / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1921, allocations: 3.938 kB / 0.8348 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.1921, allocations: 4 kB / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1921, allocations: 0 / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.1923, allocations: 31.97 kB / 0.8348 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.1926, allocations: 227.9 kB / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1928, allocations: 46.48 kB / 0.8351 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.1929, allocations: 24.91 kB / 0.8351 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.1929, allocations: 0 / 0.8351 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1929, allocations: 34.56 kB / 0.8352 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1929, allocations: 0 / 0.8352 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003437/0.1933, allocations: 93.58 kB / 0.8353 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1933, allocations: 51.41 kB / 0.8353 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.1934, allocations: 105.8 kB / 0.8354 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1934, allocations: 25.7 kB / 0.8354 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.1935, allocations: 88.12 kB / 0.8355 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1935, allocations: 11.89 kB / 0.8355 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1935, allocations: 9.719 kB / 0.8355 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1937, allocations: 318.8 kB / 0.8358 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.1938, allocations: 12.11 kB / 0.8358 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.1938, allocations: 27.97 kB / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.194, allocations: 36.83 kB / 0.8359 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.194, allocations: 3.938 kB / 0.8359 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.1942, allocations: 85.73 kB / 0.836 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1942, allocations: 4.094 kB / 0.836 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1942, allocations: 4 kB / 0.836 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1942, allocations: 4 kB / 0.836 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.1943, allocations: 11.98 kB / 0.836 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1943, allocations: 0 / 0.836 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1943, allocations: 7.984 kB / 0.836 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1944, allocations: 0 / 0.836 GB, free: 4.609 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 8.111e-05/0.1944, allocations: 114.4 kB / 0.8361 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1945, allocations: 0 / 0.8361 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.1947, allocations: 85.22 kB / 0.8362 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1947, allocations: 0 / 0.8362 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1947, allocations: 3.984 kB / 0.8362 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1947, allocations: 0 / 0.8362 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1949, allocations: 132.7 kB / 0.8363 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1949, allocations: 0 / 0.8363 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.1949, allocations: 4 kB / 0.8364 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1949, allocations: 4 kB / 0.8364 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1949, allocations: 3.938 kB / 0.8364 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1949, allocations: 4.031 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1949, allocations: 3.984 kB / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.1952, allocations: 167.5 kB / 0.8365 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.1952, allocations: 3.953 kB / 0.8365 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1952, allocations: 0 / 0.8365 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1953, allocations: 4 kB / 0.8365 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.1953, allocations: 15.92 kB / 0.8365 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.1953, allocations: 0 / 0.8365 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.1954, allocations: 83.31 kB / 0.8366 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1954, allocations: 0 / 0.8366 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000221/0.1956, allocations: 8 kB / 0.8366 GB, free: 3.906 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.0005739/0.1962, allocations: 0.7007 MB / 0.8373 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1964, allocations: 43.89 kB / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.1964, allocations: 8.094 kB / 0.8374 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.1965, allocations: 15.98 kB / 0.8374 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1968, allocations: 13.3 kB / 0.8374 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.1972, allocations: 148.9 kB / 0.8375 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.953e-05/0.1972, allocations: 63.34 kB / 0.8376 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.1973, allocations: 0 / 0.8376 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.1973, allocations: 15.38 kB / 0.8376 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1973, allocations: 64 / 0.8376 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2247, allocations: 1.976 MB / 0.8395 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.18, allocations: 8.703 kB / 0.8396 GB, free: 0.9688 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.496968513354659] Failed to read output from testmodel.py, exit status != 0: 11.292470354121178 11.322888083 11.126578455 Calling exit ...