Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001079/0.001079, 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.001001/0.001001, 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.9482/0.9482, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7418/0.7418, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.377e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002785/0.002809, allocations: 1.463 MB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.00314, allocations: 83.77 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.003171, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.003238, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.003286, allocations: 11.98 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.003571, allocations: 19.91 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.003645, allocations: 23.88 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.003741, allocations: 7.984 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.00379, allocations: 11.98 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.003831, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.003848, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/0.003943, allocations: 27.91 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.003988, allocations: 7.984 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.004008, allocations: 7.938 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.004141, allocations: 27.95 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.004146, allocations: 7.984 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.293e-06/0.004147, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.004151, allocations: 0 / 0.6198 GB, free: 11.93 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.0004516/0.004603, allocations: 272.5 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.004653, allocations: 12.03 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.00469, allocations: 30.75 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.004715, allocations: 0.9375 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.004828, allocations: 109.8 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.00484, allocations: 4.312 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.00485, allocations: 8.375 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.004998, allocations: 50.23 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.005006, allocations: 4.125 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005014, allocations: 384 / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.005019, allocations: 4.125 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.005115, allocations: 35.95 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.005423, allocations: 228 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.005511, allocations: 42.5 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.00556, allocations: 24.89 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.005595, allocations: 4 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.005618, allocations: 42.44 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.005619, allocations: 0 / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002282/0.005848, allocations: 81.64 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.005881, allocations: 59.53 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.005948, allocations: 113.8 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005959, allocations: 25.7 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.005994, allocations: 84.14 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.006009, allocations: 3.953 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.006036, allocations: 17.72 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.006111, allocations: 314.8 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.006153, allocations: 19.98 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.006187, allocations: 11.98 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.006264, allocations: 52.88 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006266, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.92e-05/0.006365, allocations: 73.55 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006379, allocations: 8 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006383, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.006394, allocations: 3.938 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.006453, allocations: 16 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006458, allocations: 0 / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.006478, allocations: 4 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.006483, allocations: 4 kB / 0.6215 GB, free: 10.01 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 5.317e-05/0.006536, allocations: 114.8 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.006549, allocations: 7.938 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.00668, allocations: 73.48 kB / 0.6216 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006681, allocations: 0 / 0.6216 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.006686, allocations: 8.031 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006689, allocations: 0 / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.545e-05/0.006785, allocations: 132.7 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006785, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.006811, allocations: 15.98 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006813, allocations: 3.938 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006819, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00682, allocations: 3.938 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.006821, allocations: 0 / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.006943, allocations: 167.5 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.00695, allocations: 7.938 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.006959, allocations: 0 / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.006995, allocations: 7.984 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.007024, allocations: 4 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.007026, allocations: 0 / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.007057, allocations: 87.27 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007057, allocations: 3.938 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001484/0.007205, allocations: 4 kB / 0.6221 GB, free: 9.305 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.0003214/0.007527, allocations: 0.7007 MB / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.007651, allocations: 43.95 kB / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007652, allocations: 0 / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.00769, allocations: 15.98 kB / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.007879, allocations: 16.14 kB / 0.6228 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.008195, allocations: 134.5 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.008239, allocations: 63.34 kB / 0.623 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.008255, allocations: 0 / 0.623 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.008286, allocations: 16.48 kB / 0.623 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.008287, allocations: 4 kB / 0.623 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.02222, allocations: 2.067 MB / 0.6251 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.743, allocations: 10.59 kB / 0.6251 GB, free: 6.293 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.635182669386268] Failed to read output from testmodel.py, exit status != 0: 6.8261717557907104 6.835748444 6.829832432 Calling exit ...