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.001052/0.001052, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7217/0.7217, 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.552/1.552, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0009033/0.0009032, allocations: 95.34 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.379e-05/5.393e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1867, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5691/0.7559, allocations: 111.2 MB / 0.7491 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.7561, allocations: 71.25 kB / 0.7492 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002709/0.7589, allocations: 0.7849 MB / 0.75 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7589, allocations: 3.844 kB / 0.75 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7589, allocations: 4 kB / 0.75 GB, free: 27.6 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.0003851/0.7593, allocations: 342.8 kB / 0.7503 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.7594, allocations: 7.719 kB / 0.7503 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.7594, allocations: 30.56 kB / 0.7503 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.7595, allocations: 7.812 kB / 0.7503 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.7596, allocations: 169.6 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.7596, allocations: 0 / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.7597, allocations: 11.75 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.7598, allocations: 36.02 kB / 0.7506 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7598, allocations: 0 / 0.7506 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.7598, allocations: 3.688 kB / 0.7506 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7598, allocations: 3.984 kB / 0.7506 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.7599, allocations: 14.73 kB / 0.7506 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.7603, allocations: 276.4 kB / 0.7508 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.087e-05/0.7604, allocations: 30.17 kB / 0.7509 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.7605, allocations: 15.44 kB / 0.7509 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.7605, allocations: 0 / 0.7509 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.7605, allocations: 34.44 kB / 0.7509 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7605, allocations: 0 / 0.7509 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.7607, allocations: 51.59 kB / 0.751 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.7607, allocations: 59.28 kB / 0.751 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.7608, allocations: 103.4 kB / 0.7511 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.7609, allocations: 25.7 kB / 0.7511 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.7609, allocations: 80.14 kB / 0.7512 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.7609, allocations: 11.78 kB / 0.7512 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.7609, allocations: 0 / 0.7512 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7611, allocations: 321.4 kB / 0.7515 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.7611, allocations: 11.72 kB / 0.7516 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.7611, allocations: 3.844 kB / 0.7516 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.7612, allocations: 10.64 kB / 0.7516 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7612, allocations: 3.938 kB / 0.7516 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.668e-05/0.7613, allocations: 48.05 kB / 0.7516 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.7613, allocations: 3.875 kB / 0.7516 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7613, allocations: 1.5 kB / 0.7516 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7613, allocations: 0 / 0.7516 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.7614, allocations: 18.77 kB / 0.7516 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.7615, allocations: 3.812 kB / 0.7516 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.7615, allocations: 6.641 kB / 0.7516 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.7616, allocations: 0 / 0.7516 GB, free: 25.94 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 9.326e-05/0.7616, allocations: 112.6 kB / 0.7518 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.7617, allocations: 0 / 0.7518 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.7618, allocations: 56.22 kB / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7619, allocations: 4.031 kB / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7619, allocations: 0 / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7619, allocations: 0 / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.7621, allocations: 172.2 kB / 0.752 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7621, allocations: 0 / 0.752 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.7621, allocations: 10.09 kB / 0.752 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7622, allocations: 0 / 0.752 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7622, allocations: 0.875 kB / 0.752 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7622, allocations: 3.938 kB / 0.752 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7622, allocations: 0 / 0.752 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.7623, allocations: 156 kB / 0.7521 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.7624, allocations: 77.11 kB / 0.7522 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.7624, allocations: 3.812 kB / 0.7522 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.7625, allocations: 6.297 kB / 0.7522 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.7626, allocations: 6.531 kB / 0.7522 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.7626, allocations: 7.969 kB / 0.7522 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.7627, allocations: 87.03 kB / 0.7523 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7627, allocations: 0 / 0.7523 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002384/0.7629, allocations: 10.06 kB / 0.7523 GB, free: 25.27 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.000462/0.7634, allocations: 0.6779 MB / 0.753 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.7635, allocations: 22.27 kB / 0.753 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7635, allocations: 0 / 0.753 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.7635, allocations: 11.56 kB / 0.753 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.7637, allocations: 1.422 kB / 0.753 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.7641, allocations: 109.6 kB / 0.7531 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.7644, allocations: 0.6811 MB / 0.7538 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.7645, allocations: 8.094 kB / 0.7538 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.7645, allocations: 13.58 kB / 0.7538 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.7645, allocations: 3.938 kB / 0.7538 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.7756, allocations: 1.13 MB / 0.7549 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/0.7758, allocations: 136.2 kB / 0.7551 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/2.214, allocations: 0 / 0.7551 GB, free: 23.4 MB / 0.5105 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)