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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006868/0.006868, allocations: 104.1 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 191.8 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9361/0.9361, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.88 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4587, allocations: 80.9 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003805/0.4626, allocations: 1.449 MB / 0.6656 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004189/0.463, allocations: 102.6 kB / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.4631, allocations: 0 / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.148e-05/0.4632, allocations: 1.344 kB / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.4633, allocations: 7.922 kB / 0.6657 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.4636, allocations: 18.36 kB / 0.6657 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.4636, allocations: 25.98 kB / 0.6657 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4637, allocations: 2.562 kB / 0.6657 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.4638, allocations: 11.41 kB / 0.6657 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.4639, allocations: 15.5 kB / 0.6657 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.4639, allocations: 2.594 kB / 0.6657 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.464, allocations: 20.8 kB / 0.6658 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.464, allocations: 9.391 kB / 0.6658 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.4641, allocations: 10.88 kB / 0.6658 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.4642, allocations: 35.05 kB / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4642, allocations: 4 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4642, allocations: 0 / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4643, allocations: 1.156 kB / 0.6658 GB, free: 5.949 MB / 0.4981 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.0004375/0.4647, allocations: 344.2 kB / 0.6661 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4648, allocations: 9.438 kB / 0.6662 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.4648, allocations: 31.97 kB / 0.6662 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.4648, allocations: 2.406 kB / 0.6662 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.4649, allocations: 178.9 kB / 0.6664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.4649, allocations: 4.375 kB / 0.6664 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.465, allocations: 1.438 kB / 0.6664 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4651, allocations: 51.3 kB / 0.6664 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4652, allocations: 3.938 kB / 0.6664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4652, allocations: 5.469 kB / 0.6664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4652, allocations: 0 / 0.6664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.4654, allocations: 36.72 kB / 0.6665 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.4657, allocations: 256.8 kB / 0.6667 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.4658, allocations: 50.2 kB / 0.6668 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.4659, allocations: 24.41 kB / 0.6668 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.466, allocations: 1.469 kB / 0.6668 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.466, allocations: 32.09 kB / 0.6668 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.466, allocations: 4 kB / 0.6668 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000355/0.4663, allocations: 85.23 kB / 0.6669 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.4664, allocations: 55.34 kB / 0.6669 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.4664, allocations: 106.8 kB / 0.667 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.4665, allocations: 25.7 kB / 0.6671 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.4665, allocations: 85.52 kB / 0.6672 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.4665, allocations: 13.27 kB / 0.6672 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.4665, allocations: 12.22 kB / 0.6672 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.4666, allocations: 316.2 kB / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.4667, allocations: 13.52 kB / 0.6675 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.4668, allocations: 24.34 kB / 0.6675 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4669, allocations: 41.83 kB / 0.6676 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4669, allocations: 7.938 kB / 0.6676 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.4671, allocations: 75.97 kB / 0.6676 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4672, allocations: 6.75 kB / 0.6676 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4672, allocations: 1.25 kB / 0.6676 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4672, allocations: 0 / 0.6676 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.4673, allocations: 13.98 kB / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4673, allocations: 5.219 kB / 0.6677 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.4674, allocations: 8.172 kB / 0.6677 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.4674, allocations: 0 / 0.6677 GB, free: 4.062 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.378e-05/0.4674, allocations: 113.8 kB / 0.6678 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.4675, allocations: 9.641 kB / 0.6678 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.4677, allocations: 73.56 kB / 0.6679 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4677, allocations: 5.219 kB / 0.6679 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4677, allocations: 0 / 0.6679 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4677, allocations: 0 / 0.6679 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.4678, allocations: 164.7 kB / 0.668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4678, allocations: 0 / 0.668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.4679, allocations: 14.36 kB / 0.668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4679, allocations: 1.25 kB / 0.668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4679, allocations: 0 / 0.668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4679, allocations: 0 / 0.668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4679, allocations: 1.25 kB / 0.668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.4682, allocations: 169.7 kB / 0.6682 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.4682, allocations: 78.33 kB / 0.6683 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.4682, allocations: 5.438 kB / 0.6683 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.4683, allocations: 6.828 kB / 0.6683 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4683, allocations: 5.469 kB / 0.6683 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4684, allocations: 1.375 kB / 0.6683 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.4684, allocations: 91.83 kB / 0.6684 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4684, allocations: 0 / 0.6684 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.4686, allocations: 7.844 kB / 0.6684 GB, free: 3.32 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.0004487/0.4691, allocations: 0.7116 MB / 0.6691 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.4693, allocations: 40.39 kB / 0.6691 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4693, allocations: 0 / 0.6691 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.4694, allocations: 20.2 kB / 0.6691 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4697, allocations: 10.3 kB / 0.6691 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.4702, allocations: 157.2 kB / 0.6693 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.4703, allocations: 0.6772 MB / 0.67 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.4703, allocations: 1.531 kB / 0.67 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.4704, allocations: 16.92 kB / 0.67 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4704, allocations: 0 / 0.67 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.4893, allocations: 1.429 MB / 0.6714 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/8.05, allocations: 1.438 kB / 0.6714 GB, free: 0.8945 MB / 0.4981 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/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)