Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001119/0.001119, 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.0008153/0.0008153, allocations: 165.9 kB / 22.45 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.9294/0.9294, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7438/0.7438, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.361e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001331/0.001355, allocations: 0.6001 MB / 0.6187 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.00154, allocations: 19.91 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.001555, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.00157, allocations: 4 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-06/0.001578, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.001931, allocations: 15.91 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.001988, allocations: 7.938 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.002035, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.002068, allocations: 4 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.499e-05/0.002093, allocations: 4 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.002113, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.002202, allocations: 19.95 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.002211, allocations: 0 / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.002228, allocations: 0 / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.002334, allocations: 12 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.002338, allocations: 3.984 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002339, allocations: 0 / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.002344, allocations: 7.938 kB / 0.6188 GB, free: 12.87 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.0002706/0.002615, allocations: 230.5 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.00266, allocations: 8.031 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.002695, allocations: 30.75 kB / 0.6191 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.002723, allocations: 4.938 kB / 0.6191 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.951e-05/0.002782, allocations: 109.8 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.002793, allocations: 384 / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.0028, allocations: 384 / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.38e-05/0.002894, allocations: 30.27 kB / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.002902, allocations: 4.125 kB / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.00291, allocations: 4.375 kB / 0.6192 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.002916, allocations: 4.125 kB / 0.6192 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.002935, allocations: 0 / 0.6192 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.003055, allocations: 120.7 kB / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.003101, allocations: 22.56 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.003127, allocations: 8.953 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.003171, allocations: 0 / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.003195, allocations: 34.56 kB / 0.6194 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.003196, allocations: 0 / 0.6194 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.003336, allocations: 33.64 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.00337, allocations: 59.47 kB / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.78e-05/0.003398, allocations: 89.86 kB / 0.6196 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.003408, allocations: 29.64 kB / 0.6196 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.003431, allocations: 84.14 kB / 0.6197 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.003462, allocations: 4 kB / 0.6197 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.003489, allocations: 13.7 kB / 0.6197 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.003576, allocations: 314.8 kB / 0.62 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.00359, allocations: 0 / 0.62 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.003597, allocations: 0 / 0.62 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.003625, allocations: 12.8 kB / 0.62 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.003628, allocations: 4.062 kB / 0.62 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.937e-05/0.003677, allocations: 37.69 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.003691, allocations: 8 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.003698, allocations: 0 / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.003711, allocations: 0 / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.003787, allocations: 3.938 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.003795, allocations: 7.938 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.003805, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.00382, allocations: 0 / 0.6201 GB, free: 11.38 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 6.437e-05/0.003884, allocations: 106.9 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.003891, allocations: 11.98 kB / 0.6202 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.004, allocations: 48.58 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.004002, allocations: 0 / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.004011, allocations: 3.938 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.004016, allocations: 4 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.73e-05/0.004093, allocations: 120.7 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.004095, allocations: 3.984 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.004112, allocations: 4.031 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.004114, allocations: 4 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.00412, allocations: 0 / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.004121, allocations: 0 / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004123, allocations: 3.938 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.004319, allocations: 53.14 kB / 0.6204 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.004326, allocations: 7.984 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.004335, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-06/0.00434, allocations: 3.938 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.004354, allocations: 7.938 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.004358, allocations: 0 / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.899e-05/0.004377, allocations: 79.31 kB / 0.6205 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004378, allocations: 0 / 0.6205 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001316/0.004509, allocations: 4 kB / 0.6205 GB, free: 10.85 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.0003362/0.004845, allocations: 0.5891 MB / 0.6211 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.004932, allocations: 7.938 kB / 0.6211 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.004933, allocations: 0 / 0.6211 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.004937, allocations: 3.938 kB / 0.6211 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.005061, allocations: 12.09 kB / 0.6211 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.005352, allocations: 106.7 kB / 0.6212 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.005388, allocations: 51.36 kB / 0.6213 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.00541, allocations: 4 kB / 0.6213 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.005434, allocations: 12.44 kB / 0.6213 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.005435, allocations: 0 / 0.6213 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.02127, allocations: 1.642 MB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.869, allocations: 8.047 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.739018152467906] Failed to read output from testmodel.py, exit status != 0: 6.949270662851632 6.966917248 6.961646058 Calling exit ...