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.000792/0.000792, allocations: 105.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.0009336/0.0009336, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.014/1.014, 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.7989/0.7989, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009578/0.0009578, allocations: 66.98 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5063, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001262/0.5076, allocations: 0.5916 MB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002017/0.5078, allocations: 24.52 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.387e-05/0.5078, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.5078, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.5078, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.5081, allocations: 16.19 kB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.647e-05/0.5082, allocations: 0.75 kB / 0.8185 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.5082, allocations: 5.609 kB / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.5082, allocations: 2.453 kB / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.858e-05/0.5082, allocations: 0 / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.5082, allocations: 0 / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.5083, allocations: 16.45 kB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.754e-06/0.5083, allocations: 1.594 kB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.5083, allocations: 7.938 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.799e-05/0.5084, allocations: 22.03 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5084, allocations: 4 kB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5084, allocations: 3.938 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.5084, allocations: 0 / 0.8185 GB, free: 0.6211 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.0001859/0.5086, allocations: 232.3 kB / 0.8187 GB, free: 376 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5086, allocations: 10.78 kB / 0.8187 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.003e-05/0.5087, allocations: 31.36 kB / 0.8188 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.5087, allocations: 0.9375 kB / 0.8188 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.605e-05/0.5087, allocations: 107.2 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.5087, allocations: 3.156 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.5087, allocations: 1.031 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.51e-05/0.5088, allocations: 28.77 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5088, allocations: 7.938 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.5088, allocations: 2.562 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5088, allocations: 0 / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.5088, allocations: 4.5 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.957e-05/0.5089, allocations: 117.7 kB / 0.819 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.509, allocations: 21.86 kB / 0.8191 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.509, allocations: 4.859 kB / 0.8191 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.509, allocations: 2.281 kB / 0.8191 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.5091, allocations: 32.73 kB / 0.8191 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5091, allocations: 0 / 0.8191 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.5092, allocations: 48.55 kB / 0.8191 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.5092, allocations: 51.41 kB / 0.8192 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.723e-05/0.5093, allocations: 92.12 kB / 0.8193 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.5093, allocations: 29.7 kB / 0.8193 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.748e-05/0.5093, allocations: 80.14 kB / 0.8194 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.5093, allocations: 1.562 kB / 0.8194 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.5093, allocations: 11.91 kB / 0.8194 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.5094, allocations: 313.7 kB / 0.8197 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.5094, allocations: 3.938 kB / 0.8197 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-06/0.5094, allocations: 2.609 kB / 0.8197 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.5094, allocations: 13.41 kB / 0.8197 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5094, allocations: 0 / 0.8197 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.269e-05/0.5095, allocations: 39.7 kB / 0.8198 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5095, allocations: 7.031 kB / 0.8198 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5095, allocations: 3.938 kB / 0.8198 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5095, allocations: 0 / 0.8198 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.5096, allocations: 2.859 kB / 0.8198 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5096, allocations: 4.594 kB / 0.8198 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-06/0.5096, allocations: 1.844 kB / 0.8198 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.5096, allocations: 4.031 kB / 0.8198 GB, free: 15.21 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 5.05e-05/0.5096, allocations: 113 kB / 0.8199 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-06/0.5096, allocations: 4.688 kB / 0.8199 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-05/0.5097, allocations: 50.53 kB / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5097, allocations: 0 / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5097, allocations: 7.938 kB / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.5097, allocations: 0.7031 kB / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.517e-05/0.5098, allocations: 124 kB / 0.8201 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5098, allocations: 0 / 0.8201 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.5098, allocations: 2.312 kB / 0.8201 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5098, allocations: 2.906 kB / 0.8201 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.5098, allocations: 3.938 kB / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.5098, allocations: 0 / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.5098, allocations: 0 / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.133e-05/0.5098, allocations: 60.22 kB / 0.8201 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.5099, allocations: 5.312 kB / 0.8201 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.5099, allocations: 7.875 kB / 0.8201 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-06/0.5099, allocations: 0 / 0.8201 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.5099, allocations: 4.547 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.5099, allocations: 0.75 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.98e-05/0.5099, allocations: 75.28 kB / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5099, allocations: 0 / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001196/0.51, allocations: 3.969 kB / 0.8202 GB, free: 14.72 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.0002433/0.5103, allocations: 0.599 MB / 0.8208 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.5103, allocations: 8.625 kB / 0.8208 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5103, allocations: 0 / 0.8208 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.657e-06/0.5103, allocations: 15.11 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 9.877e-05/0.5104, allocations: 0 / 0.8208 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.5107, allocations: 103.8 kB / 0.8209 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.782e-05/0.5107, allocations: 52.02 kB / 0.821 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.5107, allocations: 4.484 kB / 0.821 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.5107, allocations: 11.5 kB / 0.821 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.5107, allocations: 0 / 0.821 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.5249, allocations: 1.503 MB / 0.8225 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.54/7.065, allocations: 9.281 kB / 0.8225 GB, free: 13.08 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.168522912077606] Failed to read output from testmodel.py, exit status != 0: 7.140242515131831 7.156108803 6.6448552 Calling exit ...