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.001343/0.001343, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001422/0.001422, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.8877/0.8877, allocations: 133.9 MB / 443.5 MB, free: 14.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="cs",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.001989/0.001989, allocations: 64.81 kB / 0.6141 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 85.85 MB / 0.6979 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003186/0.1767, allocations: 1.443 MB / 0.6994 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004108/0.1771, allocations: 102.3 kB / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.1772, allocations: 0 / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.664e-05/0.1772, allocations: 1.812 kB / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.1773, allocations: 7.922 kB / 0.6995 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1776, allocations: 15.14 kB / 0.6995 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.1777, allocations: 28.8 kB / 0.6995 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1778, allocations: 7.562 kB / 0.6995 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.1778, allocations: 11.61 kB / 0.6995 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.1779, allocations: 13.89 kB / 0.6995 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1779, allocations: 2.281 kB / 0.6995 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.178, allocations: 21.55 kB / 0.6996 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.178, allocations: 9.281 kB / 0.6996 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.1781, allocations: 14.56 kB / 0.6996 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1782, allocations: 35.14 kB / 0.6996 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1782, allocations: 0 / 0.6996 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1782, allocations: 0 / 0.6996 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1782, allocations: 1.406 kB / 0.6996 GB, free: 12.25 MB / 0.5137 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.0005842/0.1788, allocations: 352.6 kB / 0.7 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1789, allocations: 12.45 kB / 0.7 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.1789, allocations: 192 / 0.7 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.1789, allocations: 34.75 kB / 0.7 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1789, allocations: 3.938 kB / 0.7 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.1791, allocations: 160.4 kB / 0.7002 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1791, allocations: 1.969 kB / 0.7002 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1791, allocations: 9.469 kB / 0.7002 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1793, allocations: 59.33 kB / 0.7002 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1793, allocations: 0 / 0.7002 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1793, allocations: 0 / 0.7002 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1793, allocations: 0 / 0.7002 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1795, allocations: 41.94 kB / 0.7003 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1799, allocations: 263.9 kB / 0.7005 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1801, allocations: 45.56 kB / 0.7006 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.1801, allocations: 23.83 kB / 0.7006 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.1802, allocations: 2.75 kB / 0.7006 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1802, allocations: 34.56 kB / 0.7006 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1802, allocations: 1.375 kB / 0.7006 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003757/0.1806, allocations: 84.02 kB / 0.7007 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.1807, allocations: 56.78 kB / 0.7008 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.1807, allocations: 110 kB / 0.7009 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1808, allocations: 25.7 kB / 0.7009 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1808, allocations: 81.52 kB / 0.701 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.1809, allocations: 9.391 kB / 0.701 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1809, allocations: 20.47 kB / 0.701 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.181, allocations: 314.8 kB / 0.7013 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.1811, allocations: 18.98 kB / 0.7013 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.1812, allocations: 14.98 kB / 0.7013 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1814, allocations: 54.81 kB / 0.7014 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1814, allocations: 0 / 0.7014 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002135/0.1816, allocations: 67.78 kB / 0.7014 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1816, allocations: 4.125 kB / 0.7014 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1816, allocations: 1.375 kB / 0.7014 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1816, allocations: 3.938 kB / 0.7014 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1817, allocations: 9.484 kB / 0.7015 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1817, allocations: 5.312 kB / 0.7015 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.1818, allocations: 10.73 kB / 0.7015 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1818, allocations: 1.375 kB / 0.7015 GB, free: 10.36 MB / 0.5137 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.807e-05/0.1819, allocations: 121.2 kB / 0.7016 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1819, allocations: 1.375 kB / 0.7016 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.1822, allocations: 69.94 kB / 0.7017 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1822, allocations: 1.375 kB / 0.7017 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1822, allocations: 4.031 kB / 0.7017 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1822, allocations: 0 / 0.7017 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.1824, allocations: 172.5 kB / 0.7018 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1824, allocations: 0 / 0.7018 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.1825, allocations: 15.05 kB / 0.7018 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1825, allocations: 0 / 0.7018 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1825, allocations: 5.375 kB / 0.7018 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1825, allocations: 7.922 kB / 0.7019 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1825, allocations: 0 / 0.7019 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1828, allocations: 170.5 kB / 0.702 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1829, allocations: 82.44 kB / 0.7021 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1829, allocations: 0 / 0.7021 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.1829, allocations: 8.234 kB / 0.7021 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.183, allocations: 1 kB / 0.7021 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.183, allocations: 1.156 kB / 0.7021 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.1831, allocations: 92.02 kB / 0.7022 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1831, allocations: 1.25 kB / 0.7022 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000235/0.1833, allocations: 6.469 kB / 0.7022 GB, free: 9.598 MB / 0.5137 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.000674/0.184, allocations: 0.7023 MB / 0.7029 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1842, allocations: 40.33 kB / 0.7029 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1842, allocations: 0 / 0.7029 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.1843, allocations: 19.95 kB / 0.7029 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.1846, allocations: 9.297 kB / 0.703 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.1851, allocations: 154.5 kB / 0.7031 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1855, allocations: 0.6816 MB / 0.7038 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.1855, allocations: 1.188 kB / 0.7038 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.1855, allocations: 8.5 kB / 0.7038 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1855, allocations: 0 / 0.7038 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.2049, allocations: 1.466 MB / 0.7052 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.454, allocations: 10.91 kB / 0.7052 GB, free: 7.195 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.309893394995015] Failed to read output from testmodel.py, exit status != 0: 8.866237734036986 8.597359179 8.416192544 Calling exit ...