Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_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.001674/0.001674, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8844/0.8844, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.793/1.793, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 89.3 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.681e-05, allocations: 2.656 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1686, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5949/0.7635, allocations: 111.2 MB / 0.7491 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.7637, allocations: 73.34 kB / 0.7492 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002493/0.7662, allocations: 0.7911 MB / 0.75 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7663, allocations: 0 / 0.75 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7663, allocations: 3.781 kB / 0.75 GB, free: 27.74 MB / 0.5105 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.0002969/0.7666, allocations: 339.8 kB / 0.7503 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7666, allocations: 11.53 kB / 0.7503 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.7667, allocations: 34.56 kB / 0.7503 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.7667, allocations: 3.906 kB / 0.7503 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.534e-05/0.7668, allocations: 174.5 kB / 0.7505 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.7668, allocations: 2.859 kB / 0.7505 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.7668, allocations: 3.875 kB / 0.7505 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.7669, allocations: 36.42 kB / 0.7506 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.7669, allocations: 0 / 0.7506 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.767, allocations: 0 / 0.7506 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.767, allocations: 3.969 kB / 0.7506 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.767, allocations: 12.2 kB / 0.7506 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.7674, allocations: 277.1 kB / 0.7508 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.7674, allocations: 29.92 kB / 0.7509 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.7675, allocations: 15.62 kB / 0.7509 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.7675, allocations: 7.875 kB / 0.7509 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.7675, allocations: 30.56 kB / 0.7509 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7675, allocations: 0 / 0.7509 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.7677, allocations: 51.61 kB / 0.751 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.7677, allocations: 55.34 kB / 0.751 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.7678, allocations: 100.2 kB / 0.7511 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.7678, allocations: 25.7 kB / 0.7511 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.7678, allocations: 91.25 kB / 0.7512 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.7679, allocations: 11.41 kB / 0.7512 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.7679, allocations: 0 / 0.7512 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.768, allocations: 314.8 kB / 0.7515 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.768, allocations: 11.31 kB / 0.7515 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.768, allocations: 6.891 kB / 0.7516 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.967e-05/0.768, allocations: 7.188 kB / 0.7516 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.768, allocations: 0 / 0.7516 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.073e-05/0.7681, allocations: 45.47 kB / 0.7516 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.7681, allocations: 11.41 kB / 0.7516 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.7681, allocations: 0 / 0.7516 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7682, allocations: 0 / 0.7516 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.7683, allocations: 10.42 kB / 0.7516 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7683, allocations: 6.656 kB / 0.7516 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.7683, allocations: 7.75 kB / 0.7516 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.7684, allocations: 2.531 kB / 0.7516 GB, free: 26.09 MB / 0.5105 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 5.075e-05/0.7684, allocations: 116.4 kB / 0.7518 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.7684, allocations: 3.938 kB / 0.7518 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.7686, allocations: 57.78 kB / 0.7518 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7686, allocations: 0 / 0.7518 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7686, allocations: 0 / 0.7518 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7686, allocations: 0 / 0.7518 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.7687, allocations: 159.7 kB / 0.752 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7687, allocations: 3.844 kB / 0.752 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.7688, allocations: 14.62 kB / 0.752 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7688, allocations: 0 / 0.752 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.7688, allocations: 3.219 kB / 0.752 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7688, allocations: 0 / 0.752 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7688, allocations: 3.938 kB / 0.752 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.691e-05/0.7689, allocations: 149.3 kB / 0.7521 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.769, allocations: 77.11 kB / 0.7522 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.769, allocations: 2.438 kB / 0.7522 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.7691, allocations: 15.02 kB / 0.7522 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.7691, allocations: 0 / 0.7522 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.7691, allocations: 15.77 kB / 0.7522 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.7692, allocations: 86.09 kB / 0.7523 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7692, allocations: 0 / 0.7523 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002092/0.7694, allocations: 7.719 kB / 0.7523 GB, free: 25.41 MB / 0.5105 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.00035/0.7697, allocations: 0.6886 MB / 0.753 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.892e-05/0.7698, allocations: 18.03 kB / 0.753 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7698, allocations: 0 / 0.753 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.7699, allocations: 7.938 kB / 0.753 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.77, allocations: 5.078 kB / 0.753 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.7703, allocations: 111.3 kB / 0.7531 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.7705, allocations: 0.6818 MB / 0.7538 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.7705, allocations: 0 / 0.7538 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.7706, allocations: 17.59 kB / 0.7538 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.7706, allocations: 0 / 0.7538 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.7806, allocations: 1.141 MB / 0.7549 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/0.7808, allocations: 149.1 kB / 0.7551 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.229, allocations: 0 / 0.7551 GB, free: 23.54 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)