Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.092/1.092, allocations: 175.7 MB / 478.4 MB, free: 3.746 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.55 kB / 0.6652 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1826, allocations: 94.55 MB / 0.7575 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002803/0.1854, allocations: 1.434 MB / 0.7589 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004051/0.1858, allocations: 104 kB / 0.759 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.1858, allocations: 0 / 0.759 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.325e-05/0.1859, allocations: 3.938 kB / 0.759 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.1859, allocations: 7.938 kB / 0.759 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1862, allocations: 19.97 kB / 0.7591 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.877e-05/0.1863, allocations: 23.92 kB / 0.7591 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.1864, allocations: 7.984 kB / 0.7591 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.1864, allocations: 7.938 kB / 0.7591 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.1864, allocations: 15.92 kB / 0.7591 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1865, allocations: 4 kB / 0.7591 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.1865, allocations: 19.98 kB / 0.7591 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.1866, allocations: 7.984 kB / 0.7591 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.1866, allocations: 11.94 kB / 0.7592 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1868, allocations: 47.75 kB / 0.7592 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1868, allocations: 0 / 0.7592 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1868, allocations: 0 / 0.7592 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1868, allocations: 0 / 0.7592 GB, free: 15.86 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.0004981/0.1873, allocations: 343.4 kB / 0.7595 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1873, allocations: 12.03 kB / 0.7595 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.1874, allocations: 30.75 kB / 0.7596 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1874, allocations: 8.891 kB / 0.7596 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1875, allocations: 160.4 kB / 0.7597 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1876, allocations: 4.359 kB / 0.7597 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1876, allocations: 4.375 kB / 0.7597 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1878, allocations: 50.23 kB / 0.7598 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1878, allocations: 3.938 kB / 0.7598 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1878, allocations: 0 / 0.7598 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1878, allocations: 4 kB / 0.7598 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.1879, allocations: 35.91 kB / 0.7598 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1883, allocations: 256.9 kB / 0.7601 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1884, allocations: 46.48 kB / 0.7601 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.1885, allocations: 28.91 kB / 0.7601 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.1886, allocations: 0 / 0.7601 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.1886, allocations: 34.56 kB / 0.7602 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1886, allocations: 3.938 kB / 0.7602 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004252/0.189, allocations: 89.53 kB / 0.7603 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1891, allocations: 59.53 kB / 0.7603 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1892, allocations: 105.8 kB / 0.7604 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1892, allocations: 25.7 kB / 0.7605 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.1892, allocations: 84.14 kB / 0.7605 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1893, allocations: 5.859 kB / 0.7605 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1893, allocations: 21.64 kB / 0.7606 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1895, allocations: 314.8 kB / 0.7609 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.1895, allocations: 19.98 kB / 0.7609 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.1896, allocations: 23.97 kB / 0.7609 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1898, allocations: 40.77 kB / 0.7609 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1898, allocations: 3.938 kB / 0.7609 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.19, allocations: 73.72 kB / 0.761 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.19, allocations: 4 kB / 0.761 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.19, allocations: 0 / 0.761 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.19, allocations: 256 / 0.761 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.1901, allocations: 11.98 kB / 0.761 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1901, allocations: 4 kB / 0.761 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1901, allocations: 7.984 kB / 0.761 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1901, allocations: 0 / 0.761 GB, free: 13.75 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.54e-05/0.1902, allocations: 113.8 kB / 0.7611 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.1903, allocations: 11.98 kB / 0.7612 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.1905, allocations: 77.12 kB / 0.7612 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1905, allocations: 0 / 0.7612 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1905, allocations: 3.984 kB / 0.7612 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1905, allocations: 0 / 0.7612 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1907, allocations: 165.6 kB / 0.7614 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1907, allocations: 0 / 0.7614 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.1908, allocations: 11.98 kB / 0.7614 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1908, allocations: 4.031 kB / 0.7614 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1908, allocations: 0 / 0.7614 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1908, allocations: 0 / 0.7614 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1908, allocations: 0 / 0.7614 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.191, allocations: 171.4 kB / 0.7616 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.1911, allocations: 77.11 kB / 0.7616 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1911, allocations: 7.969 kB / 0.7617 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.1911, allocations: 7.984 kB / 0.7617 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1912, allocations: 4 kB / 0.7617 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1912, allocations: 0 / 0.7617 GB, free: 13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.1912, allocations: 87.27 kB / 0.7618 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1912, allocations: 0 / 0.7618 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002194/0.1915, allocations: 8 kB / 0.7618 GB, free: 12.9 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.0006513/0.1921, allocations: 0.7151 MB / 0.7625 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1923, allocations: 47.89 kB / 0.7625 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1924, allocations: 0 / 0.7625 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.1924, allocations: 20.08 kB / 0.7625 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1927, allocations: 10.11 kB / 0.7625 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.1932, allocations: 143.2 kB / 0.7627 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1935, allocations: 0.6806 MB / 0.7633 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.1935, allocations: 192 / 0.7633 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.1936, allocations: 15.44 kB / 0.7633 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.1936, allocations: 4.062 kB / 0.7634 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.2178, allocations: 1.419 MB / 0.7647 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.318, allocations: 9.656 kB / 0.7647 GB, free: 9.824 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.269096239935607] Failed to read output from testmodel.py, exit status != 0: 8.382204920053482 8.397871942 8.208022748 Calling exit ...