Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008733/0.0008733, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009654/0.0009654, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 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 0.9373/0.9373, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7855/0.7855, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_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.0009109/0.0009109, allocations: 70.66 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4886, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001357/0.49, allocations: 0.5878 MB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.4902, allocations: 30.7 kB / 0.8184 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.235e-05/0.4902, allocations: 0 / 0.8184 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.4902, allocations: 0 / 0.8184 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-06/0.4902, allocations: 0 / 0.8184 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.4905, allocations: 14.16 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.216e-05/0.4906, allocations: 0.6562 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.4906, allocations: 0.6562 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.4906, allocations: 2.688 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.129e-05/0.4907, allocations: 0.6562 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.4907, allocations: 0 / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-05/0.4907, allocations: 22.62 kB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.4907, allocations: 2.219 kB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.4908, allocations: 4.5 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.573e-05/0.4909, allocations: 12.94 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4909, allocations: 3.938 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4909, allocations: 0 / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4909, allocations: 0 / 0.8185 GB, free: 0.6172 MB / 0.6042 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.0002288/0.4911, allocations: 236.3 kB / 0.8187 GB, free: 368 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4911, allocations: 10.28 kB / 0.8187 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.35e-05/0.4912, allocations: 30.75 kB / 0.8188 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.4912, allocations: 1.844 kB / 0.8188 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.756e-05/0.4912, allocations: 115.8 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4912, allocations: 384 / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.4913, allocations: 384 / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.718e-05/0.4913, allocations: 28.88 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.4913, allocations: 3.938 kB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.4914, allocations: 0.7031 kB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4914, allocations: 0 / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.4914, allocations: 6.75 kB / 0.8189 GB, free: 152 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.4915, allocations: 121.3 kB / 0.819 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.4915, allocations: 15.23 kB / 0.8191 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.4916, allocations: 11.12 kB / 0.8191 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.4916, allocations: 2.531 kB / 0.8191 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4916, allocations: 42.05 kB / 0.8191 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.414e-06/0.4916, allocations: 0 / 0.8191 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.4918, allocations: 43.05 kB / 0.8191 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4918, allocations: 51.41 kB / 0.8192 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.473e-05/0.4918, allocations: 90.52 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4918, allocations: 26.73 kB / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.4919, allocations: 80.14 kB / 0.8194 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.4919, allocations: 2.141 kB / 0.8194 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.4919, allocations: 19.22 kB / 0.8194 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.492, allocations: 317.2 kB / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.492, allocations: 3.719 kB / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.492, allocations: 0 / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.492, allocations: 8.625 kB / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.492, allocations: 0 / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.877e-05/0.4921, allocations: 37.2 kB / 0.8198 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4921, allocations: 6.516 kB / 0.8198 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4921, allocations: 3.938 kB / 0.8198 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4921, allocations: 4.094 kB / 0.8198 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.4922, allocations: 3.203 kB / 0.8198 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4922, allocations: 0 / 0.8198 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.4922, allocations: 0.75 kB / 0.8198 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.4922, allocations: 2.375 kB / 0.8198 GB, free: 15.2 MB / 0.6198 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 6.517e-05/0.4923, allocations: 110.7 kB / 0.8199 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-06/0.4923, allocations: 0.875 kB / 0.8199 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.4924, allocations: 51.5 kB / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4924, allocations: 3.938 kB / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4924, allocations: 0.8906 kB / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4924, allocations: 0 / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.378e-05/0.4925, allocations: 129.3 kB / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4925, allocations: 0 / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.4925, allocations: 4.453 kB / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4925, allocations: 1.219 kB / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4925, allocations: 5.281 kB / 0.8201 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4925, allocations: 0.5625 kB / 0.8201 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4925, allocations: 0 / 0.8201 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.017e-05/0.4926, allocations: 61.3 kB / 0.8201 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.4926, allocations: 9.078 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.4926, allocations: 3.938 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-06/0.4926, allocations: 0 / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.4926, allocations: 4.719 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.4926, allocations: 0 / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.4926, allocations: 75.28 kB / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4926, allocations: 0 / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001315/0.4928, allocations: 7.734 kB / 0.8202 GB, free: 14.71 MB / 0.6198 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.0003296/0.4931, allocations: 0.6012 MB / 0.8208 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.4932, allocations: 4.906 kB / 0.8208 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4932, allocations: 0 / 0.8208 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-06/0.4932, allocations: 7 kB / 0.8208 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.4933, allocations: 1.688 kB / 0.8208 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.4936, allocations: 109 kB / 0.8209 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.4936, allocations: 54.3 kB / 0.821 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.4936, allocations: 5.594 kB / 0.821 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.4936, allocations: 10.14 kB / 0.821 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4936, allocations: 0 / 0.821 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.51, allocations: 1.499 MB / 0.8225 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/7.121, allocations: 11.05 kB / 0.8225 GB, free: 13.06 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.015057003125548] Failed to read output from testmodel.py, exit status != 0: 7.198666553944349 7.215885982 6.721921623 Calling exit ...