Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001337/0.001337, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001495/0.001495, allocations: 218.1 kB / 22.25 MB, free: 5.125 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8534/0.8534, allocations: 134 MB / 446.4 MB, free: 10.22 MB / 350.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/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(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002004/0.002004, allocations: 67.05 kB / 0.6186 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1772, allocations: 85.91 MB / 0.7024 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003909/0.1811, allocations: 1.464 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.1814, allocations: 96.62 kB / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.1814, allocations: 0 / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.852e-05/0.1815, allocations: 3.938 kB / 0.704 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.1815, allocations: 7.938 kB / 0.704 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1818, allocations: 11.98 kB / 0.704 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.1819, allocations: 27.92 kB / 0.704 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.182, allocations: 7.984 kB / 0.704 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.182, allocations: 11.94 kB / 0.704 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.1821, allocations: 19.91 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1821, allocations: 0 / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1822, allocations: 27.97 kB / 0.7041 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.1822, allocations: 0 / 0.7041 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.1823, allocations: 11.94 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1824, allocations: 44.05 kB / 0.7041 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1824, allocations: 0 / 0.7041 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1824, allocations: 0 / 0.7041 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1824, allocations: 3.938 kB / 0.7041 GB, free: 15.61 MB / 0.5294 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.000584/0.183, allocations: 274.2 kB / 0.7044 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.183, allocations: 8.031 kB / 0.7044 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1831, allocations: 30.75 kB / 0.7044 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1831, allocations: 4.938 kB / 0.7044 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1832, allocations: 106.5 kB / 0.7045 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1832, allocations: 8.375 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1833, allocations: 384 / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.1835, allocations: 54.23 kB / 0.7046 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1835, allocations: 3.938 kB / 0.7046 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1835, allocations: 3.938 kB / 0.7046 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1835, allocations: 4 kB / 0.7046 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1837, allocations: 35.95 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.184, allocations: 224 kB / 0.7049 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1842, allocations: 50.48 kB / 0.7049 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.1843, allocations: 20.91 kB / 0.7049 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.1843, allocations: 4 kB / 0.7049 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1844, allocations: 34.5 kB / 0.705 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1844, allocations: 0 / 0.705 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.1847, allocations: 89.64 kB / 0.7051 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1848, allocations: 51.41 kB / 0.7051 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1849, allocations: 109.8 kB / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1849, allocations: 25.7 kB / 0.7052 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.1849, allocations: 96.06 kB / 0.7053 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.1849, allocations: 3.953 kB / 0.7053 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.185, allocations: 17.72 kB / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1851, allocations: 315 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.1852, allocations: 11.98 kB / 0.7057 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.1853, allocations: 23.97 kB / 0.7057 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1854, allocations: 44.77 kB / 0.7057 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1854, allocations: 3.938 kB / 0.7057 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.1856, allocations: 77.7 kB / 0.7058 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.1857, allocations: 4 kB / 0.7058 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1857, allocations: 0 / 0.7058 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1857, allocations: 4 kB / 0.7058 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1858, allocations: 7.984 kB / 0.7058 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1858, allocations: 0 / 0.7058 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.1859, allocations: 11.94 kB / 0.7058 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1859, allocations: 256 / 0.7058 GB, free: 13.68 MB / 0.5294 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 9.469e-05/0.186, allocations: 117.8 kB / 0.7059 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.186, allocations: 0 / 0.7059 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.1862, allocations: 85.22 kB / 0.706 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1862, allocations: 3.938 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1862, allocations: 3.984 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1862, allocations: 0 / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1864, allocations: 132.7 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1864, allocations: 4 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.1865, allocations: 7.984 kB / 0.7062 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1865, allocations: 4 kB / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1865, allocations: 4 kB / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1865, allocations: 0 / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1865, allocations: 0 / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1867, allocations: 171.4 kB / 0.7063 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.1868, allocations: 3.953 kB / 0.7063 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1868, allocations: 4 kB / 0.7063 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1868, allocations: 7.984 kB / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1869, allocations: 0 / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1869, allocations: 7.938 kB / 0.7064 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.1869, allocations: 87.27 kB / 0.7064 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1869, allocations: 0 / 0.7064 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002258/0.1872, allocations: 8.031 kB / 0.7065 GB, free: 12.97 MB / 0.5294 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.000611/0.1878, allocations: 0.7045 MB / 0.7071 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.188, allocations: 40 kB / 0.7072 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.188, allocations: 4 kB / 0.7072 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.1881, allocations: 23.97 kB / 0.7072 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1883, allocations: 0.9844 kB / 0.7072 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.1888, allocations: 139.3 kB / 0.7073 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1891, allocations: 0.6844 MB / 0.708 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.1892, allocations: 8.125 kB / 0.708 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1892, allocations: 15.36 kB / 0.708 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1892, allocations: 0 / 0.708 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.2175, allocations: 1.532 MB / 0.7095 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.1, allocations: 7.062 kB / 0.7095 GB, free: 9.859 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.661130803870037] Failed to read output from testmodel.py, exit status != 0: 11.205268156016245 11.222270311 11.036740855 Calling exit ...