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.0009106/0.0009106, 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.0009496/0.0009496, allocations: 170.3 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.9427/0.9427, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7222/0.7222, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.665e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001088/0.001105, allocations: 0.5946 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001731/0.001278, allocations: 19.91 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.001289, allocations: 0 / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.001302, allocations: 0 / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.992e-06/0.001308, allocations: 4 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.001554, allocations: 15.91 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.001591, allocations: 4 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.001624, allocations: 4 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.001648, allocations: 4 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.792e-05/0.001666, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.001678, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.938e-05/0.001737, allocations: 15.92 kB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.001746, allocations: 3.984 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.001758, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.812e-05/0.001826, allocations: 11.98 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.001827, allocations: 4 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.02e-07/0.001828, allocations: 0 / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.001831, allocations: 4 kB / 0.6188 GB, free: 12.96 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.0002134/0.002045, allocations: 234.5 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.002079, allocations: 9.469 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.002105, allocations: 30.75 kB / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.002125, allocations: 0.9375 kB / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.214e-05/0.002177, allocations: 109.8 kB / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.002185, allocations: 384 / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-06/0.002191, allocations: 4.312 kB / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.506e-05/0.002266, allocations: 34.25 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.002272, allocations: 192 / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.002278, allocations: 4.375 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.002284, allocations: 4.125 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.002305, allocations: 3.938 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.93e-05/0.002404, allocations: 120.7 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.401e-05/0.002438, allocations: 18.58 kB / 0.6193 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.002453, allocations: 8.953 kB / 0.6193 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.002485, allocations: 0 / 0.6193 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.002505, allocations: 38.55 kB / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.002507, allocations: 3.984 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.002616, allocations: 37.58 kB / 0.6194 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.002648, allocations: 59.47 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.476e-05/0.002673, allocations: 89.86 kB / 0.6195 GB, free: 12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.00268, allocations: 25.7 kB / 0.6196 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.002699, allocations: 84.14 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.002721, allocations: 4 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.002741, allocations: 9.719 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.002816, allocations: 314.8 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-06/0.002825, allocations: 4 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.00283, allocations: 0 / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.002853, allocations: 8.922 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.002855, allocations: 4 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.578e-05/0.002891, allocations: 37.64 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.002904, allocations: 8 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.002908, allocations: 0 / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.002917, allocations: 0 / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.002964, allocations: 3.984 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.00297, allocations: 7.938 kB / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-06/0.002978, allocations: 0 / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.002989, allocations: 0 / 0.62 GB, free: 11.47 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 4.824e-05/0.003037, allocations: 110.9 kB / 0.6201 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.003042, allocations: 8 kB / 0.6201 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.003118, allocations: 44.62 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.00312, allocations: 0 / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.003126, allocations: 7.875 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.003129, allocations: 0 / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.954e-05/0.003188, allocations: 120.7 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003189, allocations: 0 / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.003197, allocations: 4.031 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.003199, allocations: 4 kB / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.003208, allocations: 3.984 kB / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.003209, allocations: 0 / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.003211, allocations: 3.938 kB / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.999e-05/0.003251, allocations: 57.14 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-06/0.003254, allocations: 0 / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.003261, allocations: 0 / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-06/0.003267, allocations: 3.984 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.003279, allocations: 7.938 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.00328, allocations: 0 / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.873e-05/0.003299, allocations: 83.25 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.003299, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000117/0.003416, allocations: 4 kB / 0.6205 GB, free: 10.93 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.000217/0.003633, allocations: 0.5929 MB / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.986e-05/0.003683, allocations: 4 kB / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.003684, allocations: 0 / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.003689, allocations: 3.938 kB / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.846e-05/0.003777, allocations: 14.28 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.003987, allocations: 110.5 kB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.004014, allocations: 51.36 kB / 0.6212 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.569e-05/0.004029, allocations: 4 kB / 0.6212 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.004047, allocations: 8.5 kB / 0.6212 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.004048, allocations: 0 / 0.6212 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.0183, allocations: 1.648 MB / 0.6229 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.009, allocations: 10.03 kB / 0.6229 GB, free: 8.543 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.765820899046957] Failed to read output from testmodel.py, exit status != 0: 7.088066247291863 7.100243037 7.096039334 Calling exit ...