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.001246/0.001246, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001183/0.001183, allocations: 221.8 kB / 22.26 MB, free: 3.707 MB / 13.93 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.9277/0.9277, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.7751/0.7751, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009913/0.0009913, allocations: 66.72 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4499, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001197/0.4511, allocations: 0.5855 MB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001886/0.4513, allocations: 28.91 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.4513, allocations: 0 / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.4513, allocations: 0 / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.4514, allocations: 0 / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.4516, allocations: 17.67 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.4517, allocations: 0.6094 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.4517, allocations: 6.484 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.4517, allocations: 0.9375 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.4518, allocations: 1.797 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.4518, allocations: 0 / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.4518, allocations: 21.08 kB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.4518, allocations: 0 / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.4519, allocations: 3.938 kB / 0.8186 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.4519, allocations: 15.3 kB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4519, allocations: 0 / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.452, allocations: 2.219 kB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.452, allocations: 0 / 0.8186 GB, free: 0.8398 MB / 0.6042 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.0001994/0.4522, allocations: 235.6 kB / 0.8188 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4522, allocations: 14.09 kB / 0.8188 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.915e-05/0.4522, allocations: 31.69 kB / 0.8188 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.4522, allocations: 4.906 kB / 0.8188 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.508e-05/0.4523, allocations: 103.2 kB / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4523, allocations: 384 / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.4523, allocations: 384 / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.278e-05/0.4524, allocations: 37.95 kB / 0.819 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.4524, allocations: 4.734 kB / 0.819 GB, free: 380 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.4524, allocations: 4 kB / 0.819 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4524, allocations: 0 / 0.819 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.4524, allocations: 2.125 kB / 0.819 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.631e-05/0.4525, allocations: 117.1 kB / 0.8191 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.156e-05/0.4525, allocations: 16.77 kB / 0.8191 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.4525, allocations: 9.609 kB / 0.8191 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.4526, allocations: 6.297 kB / 0.8191 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4526, allocations: 43.3 kB / 0.8192 GB, free: 128 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 3.8e-07/0.4526, allocations: 0 / 0.8192 GB, free: 128 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001069/0.4527, allocations: 43.62 kB / 0.8192 GB, free: 88 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.4527, allocations: 52.02 kB / 0.8193 GB, free: 24 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.74e-05/0.4527, allocations: 89.86 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.4528, allocations: 25.7 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.4528, allocations: 80.7 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.4528, allocations: 0 / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.4528, allocations: 21.95 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.4529, allocations: 311.5 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.4529, allocations: 3.938 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.4529, allocations: 1.938 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.453, allocations: 12.05 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.453, allocations: 0 / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.703e-05/0.453, allocations: 37.83 kB / 0.8198 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.453, allocations: 8.875 kB / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.453, allocations: 5.656 kB / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.453, allocations: 0 / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.4531, allocations: 3.359 kB / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4531, allocations: 0.7031 kB / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-06/0.4531, allocations: 0 / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4531, allocations: 3.094 kB / 0.8198 GB, free: 15.42 MB / 0.6198 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.445e-05/0.4532, allocations: 106.6 kB / 0.8199 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-06/0.4532, allocations: 0.5625 kB / 0.8199 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.416e-05/0.4533, allocations: 57.91 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4533, allocations: 0 / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4533, allocations: 0 / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4533, allocations: 7.094 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.826e-05/0.4534, allocations: 113.7 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4534, allocations: 0.9375 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.4534, allocations: 4.25 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4534, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4534, allocations: 8.906 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.4534, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4534, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.735e-05/0.4534, allocations: 61.88 kB / 0.8202 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.4534, allocations: 9.078 kB / 0.8202 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.4535, allocations: 6.469 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-06/0.4535, allocations: 0 / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.4535, allocations: 8.469 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4535, allocations: 4 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.173e-05/0.4535, allocations: 75.28 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4535, allocations: 0 / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001211/0.4536, allocations: 1.562 kB / 0.8203 GB, free: 14.92 MB / 0.6198 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.0002927/0.4539, allocations: 0.599 MB / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.832e-05/0.454, allocations: 12.3 kB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.454, allocations: 0 / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.454, allocations: 2.312 kB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.891e-05/0.4541, allocations: 1.469 kB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.4543, allocations: 108.5 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.4545, allocations: 0.6703 MB / 0.8216 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.4545, allocations: 6.562 kB / 0.8217 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.4546, allocations: 10.61 kB / 0.8217 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.4546, allocations: 0 / 0.8217 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.4712, allocations: 1.106 MB / 0.8227 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.448, allocations: 1.5 kB / 0.8227 GB, free: 13.07 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.341802339069545] Failed to read output from testmodel.py, exit status != 0: 7.528279513120651 7.540608762 7.086449525 Calling exit ...