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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7508/0.7508, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 96.03 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.164e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4462, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.5882, allocations: 110.6 MB / 0.7419 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.5885, allocations: 75.95 kB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002348/0.5908, allocations: 0.7834 MB / 0.7427 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5909, allocations: 0 / 0.7427 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.5909, allocations: 0 / 0.7427 GB, free: 11.24 MB / 0.5261 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.0004061/0.5913, allocations: 346.4 kB / 0.7431 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.5913, allocations: 12.03 kB / 0.7431 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.5914, allocations: 3.906 kB / 0.7431 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.5916, allocations: 171 kB / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.5916, allocations: 0 / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.5916, allocations: 0 / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.65e-05/0.5917, allocations: 12 kB / 0.7433 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.433e-05/0.5918, allocations: 41.69 kB / 0.7433 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5918, allocations: 0 / 0.7433 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.5918, allocations: 0 / 0.7433 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5919, allocations: 4 kB / 0.7433 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.5923, allocations: 257.4 kB / 0.7436 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.5924, allocations: 26.58 kB / 0.7436 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.5925, allocations: 12.92 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.5925, allocations: 7.984 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.5925, allocations: 30.56 kB / 0.7436 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.5926, allocations: 4 kB / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.5928, allocations: 45.59 kB / 0.7437 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.5928, allocations: 55.41 kB / 0.7437 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.5929, allocations: 96.94 kB / 0.7438 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.593, allocations: 29.64 kB / 0.7438 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.593, allocations: 92.17 kB / 0.7439 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.5931, allocations: 7.844 kB / 0.7439 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5931, allocations: 0 / 0.7439 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5932, allocations: 322.8 kB / 0.7442 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.5932, allocations: 4 kB / 0.7443 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.5933, allocations: 8 kB / 0.7443 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.5933, allocations: 4 kB / 0.7443 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5933, allocations: 0 / 0.7443 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.737e-05/0.5934, allocations: 49.69 kB / 0.7443 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5935, allocations: 9.969 kB / 0.7443 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5935, allocations: 0 / 0.7443 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5935, allocations: 0 / 0.7443 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.5936, allocations: 11.98 kB / 0.7443 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5936, allocations: 0 / 0.7443 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.5937, allocations: 15.92 kB / 0.7443 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5937, allocations: 0 / 0.7443 GB, free: 9.398 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5938, allocations: 116.9 kB / 0.7445 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001162/0.5939, allocations: 45.69 kB / 0.7445 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.594, allocations: 4.156 kB / 0.7445 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.5941, allocations: 57.66 kB / 0.7446 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5941, allocations: 4 kB / 0.7446 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5941, allocations: 3.984 kB / 0.7446 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5941, allocations: 0 / 0.7446 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.5943, allocations: 138.2 kB / 0.7447 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5943, allocations: 0 / 0.7447 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.5944, allocations: 19.98 kB / 0.7447 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.5944, allocations: 4 kB / 0.7447 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.5944, allocations: 0 / 0.7447 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5944, allocations: 0 / 0.7447 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5944, allocations: 0 / 0.7447 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.5946, allocations: 143.5 kB / 0.7449 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.5946, allocations: 81.14 kB / 0.7449 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.5946, allocations: 4 kB / 0.7449 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.5947, allocations: 7.984 kB / 0.7449 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.5948, allocations: 4 kB / 0.745 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5948, allocations: 7.922 kB / 0.745 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.5948, allocations: 83.28 kB / 0.745 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5948, allocations: 0 / 0.745 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002085/0.595, allocations: 8 kB / 0.745 GB, free: 8.594 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004714/0.5955, allocations: 0.6811 MB / 0.7457 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.5956, allocations: 16 kB / 0.7457 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5956, allocations: 0 / 0.7457 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.5956, allocations: 12 kB / 0.7457 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.5958, allocations: 4.141 kB / 0.7457 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.5962, allocations: 105.6 kB / 0.7458 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.5965, allocations: 0.6845 MB / 0.7465 GB, free: 7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.5965, allocations: 7.969 kB / 0.7465 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.5965, allocations: 11.44 kB / 0.7465 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.5965, allocations: 0 / 0.7465 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.6133, allocations: 0.8337 MB / 0.7473 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.6136, allocations: 121.4 kB / 0.7475 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.122, allocations: 0 / 0.7475 GB, free: 5.965 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)