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.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.0008303/0.0008303, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000855/0.000855, allocations: 208.1 kB / 22.25 MB, free: 3.59 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 1.016/1.016, allocations: 230.6 MB / 256 MB, free: 9.602 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.7628/0.7628, 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.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: 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.001378/0.001378, allocations: 74.94 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4974, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001782/0.4991, allocations: 1.462 MB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002876/0.4994, allocations: 85.83 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.4995, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.848e-05/0.4995, allocations: 5.75 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.4995, allocations: 7.891 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.4998, allocations: 23.59 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.4999, allocations: 20.55 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.5, allocations: 12.89 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.5, allocations: 4.797 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.5, allocations: 13.56 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.5001, allocations: 2.531 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.5001, allocations: 22.88 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.5002, allocations: 5.625 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.5002, allocations: 11.73 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.5003, allocations: 33.88 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5003, allocations: 4.609 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5004, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5004, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 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.0004082/0.5008, allocations: 271 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5008, allocations: 7.156 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.5008, allocations: 35.27 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.5009, allocations: 4.422 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.501, allocations: 109.2 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.501, allocations: 1.719 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.501, allocations: 5.875 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.5011, allocations: 54.66 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5012, allocations: 3.938 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.5012, allocations: 1.469 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5012, allocations: 0 / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.5013, allocations: 41.61 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.5016, allocations: 223.2 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.5017, allocations: 52.7 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.5018, allocations: 21.17 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.5018, allocations: 4.406 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.5018, allocations: 34.56 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5018, allocations: 0 / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000226/0.502, allocations: 84.2 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.5021, allocations: 52.69 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.5021, allocations: 110.3 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5021, allocations: 25.7 kB / 0.8206 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.5022, allocations: 84.36 kB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.5022, allocations: 14.72 kB / 0.8206 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.5022, allocations: 13.94 kB / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.5023, allocations: 316.1 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.5023, allocations: 19.66 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.5024, allocations: 15.77 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.5025, allocations: 48.23 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5025, allocations: 6.781 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.5026, allocations: 64.3 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5026, allocations: 6.281 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5026, allocations: 0 / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5026, allocations: 1.438 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.5027, allocations: 15.42 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5027, allocations: 3.938 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.5027, allocations: 13.14 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5027, allocations: 4 kB / 0.8212 GB, free: 14.32 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 (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 5.058e-05/0.5027, allocations: 118.3 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.5027, allocations: 0.7031 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.5029, allocations: 76.34 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5029, allocations: 5.281 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5029, allocations: 0.5625 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5029, allocations: 0 / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.617e-05/0.503, allocations: 138.8 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.503, allocations: 0 / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.503, allocations: 6.031 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.503, allocations: 1.469 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.503, allocations: 3.625 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.503, allocations: 0 / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.503, allocations: 4.547 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.5032, allocations: 164.7 kB / 0.8217 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.5032, allocations: 10.67 kB / 0.8217 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.5032, allocations: 2.719 kB / 0.8217 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.5033, allocations: 5.281 kB / 0.8217 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.5033, allocations: 1.453 kB / 0.8217 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.5033, allocations: 1.75 kB / 0.8217 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.5033, allocations: 87.12 kB / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5033, allocations: 0 / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001509/0.5035, allocations: 9.625 kB / 0.8218 GB, free: 13.75 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 (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.0004196/0.5039, allocations: 0.705 MB / 0.8225 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.5041, allocations: 38.77 kB / 0.8225 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5041, allocations: 0 / 0.8225 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.637e-05/0.5041, allocations: 23.16 kB / 0.8225 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.5044, allocations: 5.875 kB / 0.8225 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.5048, allocations: 153.3 kB / 0.8227 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.686e-05/0.5049, allocations: 60.86 kB / 0.8227 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.5049, allocations: 4.156 kB / 0.8227 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.5049, allocations: 8.234 kB / 0.8227 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.5049, allocations: 0 / 0.8227 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.5195, allocations: 1.965 MB / 0.8247 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/7.243, allocations: 7.281 kB / 0.8247 GB, free: 11.96 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.300998996011913] Failed to read output from testmodel.py, exit status != 0: 7.322274337988347 7.3369949629999995 6.833763252 Calling exit ...