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.001024/0.001024, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008861/0.0008861, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8996/0.8996, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7203/0.7203, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.196e-05, allocations: 6.969 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001234/0.001256, allocations: 0.5957 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00021/0.001466, allocations: 27.89 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.001481, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.001495, allocations: 3.938 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.001502, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.001782, allocations: 4 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.01e-05/0.001832, allocations: 3.984 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.001869, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.001895, allocations: 3.938 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.101e-05/0.001916, allocations: 3.984 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.00193, allocations: 4 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/0.001998, allocations: 19.92 kB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-06/0.002007, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.002019, allocations: 4 kB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.323e-05/0.002102, allocations: 15.97 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002104, allocations: 0 / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.81e-07/0.002105, allocations: 0 / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.00211, allocations: 0 / 0.6188 GB, free: 12.97 MB / 0.5886 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.0002341/0.002344, allocations: 238.4 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.002384, allocations: 13.47 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.002412, allocations: 30.75 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.002432, allocations: 4.938 kB / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.672e-05/0.002489, allocations: 101.8 kB / 0.6191 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.002498, allocations: 384 / 0.6191 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.002505, allocations: 4.375 kB / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.648e-05/0.002582, allocations: 30.27 kB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.002589, allocations: 192 / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.002596, allocations: 384 / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.002603, allocations: 4.125 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.002621, allocations: 11.92 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.893e-05/0.00272, allocations: 112.8 kB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.318e-05/0.002763, allocations: 22.61 kB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.002779, allocations: 8.859 kB / 0.6193 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.002811, allocations: 4.062 kB / 0.6193 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.002828, allocations: 30.56 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.002829, allocations: 0 / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.002946, allocations: 37.62 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.002979, allocations: 59.34 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.491e-05/0.003004, allocations: 89.86 kB / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.003012, allocations: 25.7 kB / 0.6196 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.00303, allocations: 80.14 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.003052, allocations: 4.125 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.003074, allocations: 17.72 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.003164, allocations: 310.8 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.003173, allocations: 0 / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.003177, allocations: 3.938 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.003202, allocations: 12.84 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.003204, allocations: 3.938 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.351e-05/0.003237, allocations: 33.7 kB / 0.62 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.003248, allocations: 4 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.003252, allocations: 4.094 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.003262, allocations: 0 / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.003314, allocations: 4 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.00332, allocations: 7.875 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-06/0.003329, allocations: 4 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.00334, allocations: 0 / 0.62 GB, free: 11.48 MB / 0.5886 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.369e-05/0.003394, allocations: 114.8 kB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-06/0.003397, allocations: 0 / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.003473, allocations: 40.64 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.003475, allocations: 4 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.00348, allocations: 3.938 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.003485, allocations: 7.969 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.74e-05/0.003553, allocations: 124.7 kB / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.003554, allocations: 0 / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.003563, allocations: 4 kB / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.003565, allocations: 0 / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.00357, allocations: 0 / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003571, allocations: 0 / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.003572, allocations: 7.969 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.491e-05/0.003617, allocations: 61.08 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-06/0.00362, allocations: 0 / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.003632, allocations: 4 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-06/0.00364, allocations: 4 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.003652, allocations: 7.875 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.003655, allocations: 0 / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.003674, allocations: 75.28 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003674, allocations: 0 / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001225/0.003797, allocations: 7.984 kB / 0.6205 GB, free: 10.95 MB / 0.5886 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.000252/0.004049, allocations: 0.5891 MB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.73e-05/0.004106, allocations: 8 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.004107, allocations: 0 / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.004112, allocations: 7.938 kB / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.039e-05/0.004203, allocations: 6.125 kB / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.004433, allocations: 98.67 kB / 0.6212 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.004465, allocations: 59.34 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.004484, allocations: 4.156 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.004503, allocations: 12.44 kB / 0.6212 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.004503, allocations: 7.938 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.0178, allocations: 1.635 MB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/6.992, allocations: 5.031 kB / 0.6229 GB, free: 8.566 MB / 0.5886 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: 9.844416086561978] Failed to read output from testmodel.py, exit status != 0: 7.070680450648069 7.081693815 7.076807378 Calling exit ...