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.0009136/0.0009136, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000914/0.000914, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9523/0.9523, 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.7613/0.7613, 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.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: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.543e-05, allocations: 5.516 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002473/0.002499, allocations: 1.458 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00027/0.002769, allocations: 79.83 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.002797, allocations: 0 / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.611e-05/0.002863, allocations: 7.938 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.002901, allocations: 7.922 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.003181, allocations: 23.91 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.003251, allocations: 19.94 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003352, allocations: 7.984 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.00339, allocations: 11.98 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.003424, allocations: 11.94 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.003441, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.003532, allocations: 27.91 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.003583, allocations: 3.984 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.003605, allocations: 12 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.00373, allocations: 31.89 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.003733, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.125e-06/0.003736, allocations: 3.984 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.003741, allocations: 0 / 0.6197 GB, free: 12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004282/0.004169, allocations: 266.3 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.004217, allocations: 13.47 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.004252, allocations: 30.75 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.004283, allocations: 0.9375 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.004369, allocations: 113.7 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004381, allocations: 8.375 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.00439, allocations: 384 / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.004554, allocations: 58.17 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004561, allocations: 192 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.004569, allocations: 384 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004576, allocations: 4.125 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/0.004673, allocations: 39.89 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.005032, allocations: 220 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.005148, allocations: 46.5 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.005207, allocations: 28.89 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.005253, allocations: 0 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.00528, allocations: 38.5 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.005282, allocations: 0 / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002981/0.00558, allocations: 89.73 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.00562, allocations: 51.41 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.005703, allocations: 109.8 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.005715, allocations: 25.7 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.00577, allocations: 88.14 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.005792, allocations: 3.953 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.005822, allocations: 13.66 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.005926, allocations: 322.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.005977, allocations: 11.98 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.006016, allocations: 27.95 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.006101, allocations: 44.81 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006104, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000117/0.00622, allocations: 73.55 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.006237, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.006244, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.006259, allocations: 4.094 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.006337, allocations: 7.984 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.006344, allocations: 3.938 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.006372, allocations: 8.25 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.006378, allocations: 0 / 0.6214 GB, free: 10.08 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 (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 7.547e-05/0.006453, allocations: 114.8 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.006469, allocations: 11.94 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.006636, allocations: 77.28 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006638, allocations: 0 / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.006645, allocations: 0 / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.006648, allocations: 0 / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.00677, allocations: 128.8 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006772, allocations: 0 / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.006802, allocations: 11.98 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.006805, allocations: 3.938 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.006813, allocations: 0 / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006814, allocations: 0 / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006816, allocations: 0 / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.006964, allocations: 175.4 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.006972, allocations: 3.938 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.006985, allocations: 7.938 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.007021, allocations: 3.984 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.007065, allocations: 4 kB / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.007068, allocations: 0 / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.007109, allocations: 87.27 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007109, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001659/0.007275, allocations: 12.03 kB / 0.622 GB, free: 9.375 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 (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.0004438/0.007718, allocations: 0.6967 MB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.007866, allocations: 39.95 kB / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.007867, allocations: 3.938 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.007912, allocations: 24.08 kB / 0.6228 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.008192, allocations: 10.02 kB / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.008632, allocations: 134.5 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.008691, allocations: 67.34 kB / 0.623 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.008714, allocations: 3.984 kB / 0.623 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.008751, allocations: 8.5 kB / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.008752, allocations: 0 / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.02727, allocations: 2.085 MB / 0.625 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.046, allocations: 7.453 kB / 0.625 GB, free: 6.359 MB / 0.5886 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.004128118045628] Failed to read output from testmodel.py, exit status != 0: 7.1280084401369095 7.136504528 7.130993637 Calling exit ...