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/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007866/0.007866, allocations: 171.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9401/0.9401, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0008967/0.0008969, allocations: 97.94 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005049, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4644, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.6229, allocations: 110.6 MB / 0.7575 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.6233, allocations: 79.95 kB / 0.7576 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001358/0.6247, allocations: 483 kB / 0.7581 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6247, allocations: 4 kB / 0.7581 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6247, allocations: 0 / 0.7581 GB, free: 4.871 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000306/0.6251, allocations: 311.4 kB / 0.7584 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.6251, allocations: 12.03 kB / 0.7584 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.6252, allocations: 30.56 kB / 0.7584 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.6252, allocations: 4 kB / 0.7584 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.6253, allocations: 167 kB / 0.7586 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6254, allocations: 4 kB / 0.7586 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.6254, allocations: 3.938 kB / 0.7586 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.6255, allocations: 41.62 kB / 0.7586 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6255, allocations: 0 / 0.7586 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.6256, allocations: 0 / 0.7586 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6256, allocations: 0 / 0.7586 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.6256, allocations: 0 / 0.7586 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.6258, allocations: 153.6 kB / 0.7587 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/0.6259, allocations: 22.03 kB / 0.7588 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.6259, allocations: 4.094 kB / 0.7588 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.626, allocations: 34.56 kB / 0.7588 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.915e-06/0.626, allocations: 0 / 0.7588 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.6262, allocations: 37.58 kB / 0.7588 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.6262, allocations: 55.39 kB / 0.7589 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.6263, allocations: 85 kB / 0.759 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.6263, allocations: 29.7 kB / 0.759 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.6263, allocations: 80.14 kB / 0.7591 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.6264, allocations: 8.031 kB / 0.7591 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.6264, allocations: 0 / 0.7591 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6265, allocations: 314.8 kB / 0.7594 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.6266, allocations: 0 / 0.7594 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.6266, allocations: 4 kB / 0.7594 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.6266, allocations: 0 / 0.7594 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6266, allocations: 0 / 0.7594 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.267e-05/0.6267, allocations: 41.58 kB / 0.7594 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6267, allocations: 8.094 kB / 0.7594 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6267, allocations: 4 kB / 0.7594 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6268, allocations: 0 / 0.7594 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.6268, allocations: 0 / 0.7594 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6268, allocations: 4 kB / 0.7594 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.6269, allocations: 3.938 kB / 0.7595 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.6269, allocations: 0 / 0.7595 GB, free: 3.223 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.627, allocations: 105.8 kB / 0.7596 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.627, allocations: 3.953 kB / 0.7596 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.6271, allocations: 52.75 kB / 0.7596 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6271, allocations: 0 / 0.7596 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6271, allocations: 0 / 0.7596 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6271, allocations: 0 / 0.7596 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.6273, allocations: 149.7 kB / 0.7598 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6273, allocations: 0 / 0.7598 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.6273, allocations: 0 / 0.7598 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6273, allocations: 3.953 kB / 0.7598 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.6273, allocations: 4.031 kB / 0.7598 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6273, allocations: 7.938 kB / 0.7598 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6273, allocations: 0 / 0.7598 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.133e-05/0.6274, allocations: 57.12 kB / 0.7598 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.6275, allocations: 77.11 kB / 0.7599 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.6275, allocations: 11.95 kB / 0.7599 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.6275, allocations: 3.938 kB / 0.7599 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.6276, allocations: 0 / 0.7599 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.6276, allocations: 7.969 kB / 0.7599 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.6276, allocations: 75.28 kB / 0.76 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6276, allocations: 0 / 0.76 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001996/0.6278, allocations: 8 kB / 0.76 GB, free: 2.562 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 () * 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 (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.0005414/0.6284, allocations: 0.5969 MB / 0.7606 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.6285, allocations: 8 kB / 0.7606 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6285, allocations: 0 / 0.7606 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.6285, allocations: 7.938 kB / 0.7606 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.455e-05/0.6286, allocations: 7.938 kB / 0.7606 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.6289, allocations: 105.4 kB / 0.7607 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.6292, allocations: 0.677 MB / 0.7614 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.6293, allocations: 4.125 kB / 0.7614 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.6293, allocations: 7.438 kB / 0.7614 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.6293, allocations: 0 / 0.7614 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.6425, allocations: 0.8067 MB / 0.7622 GB, free: 368 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.6428, allocations: 171 kB / 0.7623 GB, free: 124 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.083, allocations: 3 kB / 0.7623 GB, free: 124 kB / 0.5261 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --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)