Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001638/0.001638, 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.002177/0.002177, allocations: 216.3 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.98 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.8398/0.8398, allocations: 134 MB / 446.4 MB, free: 10.21 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.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.0022/0.0022, allocations: 69.38 kB / 0.6186 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1768, allocations: 85.91 MB / 0.7025 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001787/0.1785, allocations: 0.5807 MB / 0.7031 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.1788, allocations: 35.88 kB / 0.7031 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.304e-05/0.1788, allocations: 4 kB / 0.7031 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.1788, allocations: 0 / 0.7031 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1788, allocations: 0 / 0.7031 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1791, allocations: 11.94 kB / 0.7031 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.1791, allocations: 11.98 kB / 0.7031 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1792, allocations: 416 / 0.7031 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.091e-05/0.1792, allocations: 0 / 0.7031 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.1792, allocations: 3.984 kB / 0.7031 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.1792, allocations: 0 / 0.7031 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.1793, allocations: 19.97 kB / 0.7031 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1793, allocations: 4 kB / 0.7031 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.1793, allocations: 4 kB / 0.7031 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.582e-05/0.1794, allocations: 12.2 kB / 0.7032 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1794, allocations: 0 / 0.7032 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1794, allocations: 4 kB / 0.7032 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1794, allocations: 4 kB / 0.7032 GB, free: 0.6445 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002845/0.1797, allocations: 242.4 kB / 0.7034 GB, free: 384 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1798, allocations: 8.031 kB / 0.7034 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.1798, allocations: 30.75 kB / 0.7034 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.1798, allocations: 4.938 kB / 0.7034 GB, free: 332 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.1799, allocations: 114.5 kB / 0.7035 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1799, allocations: 384 / 0.7035 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.1799, allocations: 384 / 0.7035 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.18, allocations: 34.25 kB / 0.7036 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.18, allocations: 11.88 kB / 0.7036 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.18, allocations: 0 / 0.7036 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.18, allocations: 0 / 0.7036 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.18, allocations: 0 / 0.7036 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1802, allocations: 120.8 kB / 0.7037 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.1802, allocations: 18.52 kB / 0.7037 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.1802, allocations: 8.844 kB / 0.7037 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.1803, allocations: 8.094 kB / 0.7037 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1803, allocations: 30.56 kB / 0.7038 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1803, allocations: 0 / 0.7038 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.1804, allocations: 41.59 kB / 0.7038 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1805, allocations: 55.41 kB / 0.7039 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.991e-05/0.1805, allocations: 89.86 kB / 0.7039 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1805, allocations: 25.7 kB / 0.704 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.1806, allocations: 80.14 kB / 0.704 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1806, allocations: 4.125 kB / 0.7041 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1806, allocations: 21.64 kB / 0.7041 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1807, allocations: 310.8 kB / 0.7044 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.1808, allocations: 4 kB / 0.7044 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.1808, allocations: 0 / 0.7044 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.1808, allocations: 8.859 kB / 0.7044 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1808, allocations: 0 / 0.7044 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.681e-05/0.1809, allocations: 37.77 kB / 0.7044 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1809, allocations: 11.92 kB / 0.7044 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1809, allocations: 3.938 kB / 0.7044 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1809, allocations: 0 / 0.7044 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.822e-05/0.1809, allocations: 4 kB / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1809, allocations: 3.938 kB / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.181, allocations: 0 / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.181, allocations: 0 / 0.7044 GB, free: 15.14 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 (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.267e-05/0.181, allocations: 105.8 kB / 0.7045 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-06/0.181, allocations: 8.031 kB / 0.7045 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/0.1811, allocations: 44.62 kB / 0.7046 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1811, allocations: 0 / 0.7046 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1811, allocations: 0 / 0.7046 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1811, allocations: 0 / 0.7046 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.252e-05/0.1812, allocations: 120.8 kB / 0.7047 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1812, allocations: 3.984 kB / 0.7047 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.1813, allocations: 0 / 0.7047 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1813, allocations: 8.031 kB / 0.7047 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1813, allocations: 3.938 kB / 0.7047 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1813, allocations: 4 kB / 0.7047 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1813, allocations: 3.938 kB / 0.7047 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.1813, allocations: 61.08 kB / 0.7048 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.1814, allocations: 3.984 kB / 0.7048 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.1814, allocations: 3.938 kB / 0.7048 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.1814, allocations: 4.031 kB / 0.7048 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.1814, allocations: 3.984 kB / 0.7048 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1814, allocations: 4 kB / 0.7048 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.1814, allocations: 79.28 kB / 0.7049 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1814, allocations: 0 / 0.7049 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002086/0.1816, allocations: 7.938 kB / 0.7049 GB, free: 14.6 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 (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.0003956/0.182, allocations: 0.6007 MB / 0.7055 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.1821, allocations: 4 kB / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1821, allocations: 0 / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-06/0.1821, allocations: 0 / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1822, allocations: 10.17 kB / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.1825, allocations: 106.7 kB / 0.7056 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1828, allocations: 0.6768 MB / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.1828, allocations: 0 / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.1829, allocations: 15.42 kB / 0.7063 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1829, allocations: 0 / 0.7063 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.2102, allocations: 1.117 MB / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.17, allocations: 5.75 kB / 0.7074 GB, free: 12.11 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.730729939881712] Failed to read output from testmodel.py, exit status != 0: 11.271189497085288 11.288250216 11.105553332 Calling exit ...