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: translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.001624/0.001624, allocations: 183 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8499/0.8499, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 69.34 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1584, allocations: 80.93 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002708/0.1611, allocations: 1.427 MB / 0.6668 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.1614, allocations: 100.6 kB / 0.6669 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.1614, allocations: 4 kB / 0.6669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.383e-05/0.1615, allocations: 3.938 kB / 0.6669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.1615, allocations: 3.938 kB / 0.6669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1618, allocations: 15.97 kB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.1618, allocations: 27.92 kB / 0.6669 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.1619, allocations: 3.984 kB / 0.6669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.162, allocations: 15.94 kB / 0.6669 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.162, allocations: 11.98 kB / 0.6669 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.162, allocations: 4 kB / 0.6669 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.216e-05/0.1621, allocations: 15.98 kB / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1621, allocations: 7.922 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.1622, allocations: 11.94 kB / 0.667 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1623, allocations: 39.88 kB / 0.667 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1623, allocations: 3.938 kB / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1623, allocations: 0 / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1623, allocations: 0 / 0.667 GB, free: 4.012 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.0005346/0.1628, allocations: 351.3 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1629, allocations: 9.109 kB / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1629, allocations: 4.938 kB / 0.6674 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1631, allocations: 172.3 kB / 0.6675 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1631, allocations: 384 / 0.6675 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.1631, allocations: 4.375 kB / 0.6675 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1633, allocations: 50.23 kB / 0.6676 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1633, allocations: 192 / 0.6676 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1633, allocations: 7.938 kB / 0.6676 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1633, allocations: 0 / 0.6676 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.1635, allocations: 39.95 kB / 0.6676 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.1638, allocations: 252.9 kB / 0.6679 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.164, allocations: 42.5 kB / 0.6679 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/0.1641, allocations: 32.89 kB / 0.6679 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1641, allocations: 0 / 0.6679 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1641, allocations: 34.56 kB / 0.668 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1641, allocations: 0 / 0.668 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003805/0.1645, allocations: 89.7 kB / 0.6681 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1646, allocations: 55.41 kB / 0.6681 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1647, allocations: 105.8 kB / 0.6682 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1647, allocations: 25.7 kB / 0.6682 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.1647, allocations: 88.09 kB / 0.6683 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.1648, allocations: 7.891 kB / 0.6683 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1648, allocations: 17.7 kB / 0.6683 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1649, allocations: 314.8 kB / 0.6686 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.165, allocations: 19.98 kB / 0.6687 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.1651, allocations: 19.98 kB / 0.6687 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1653, allocations: 40.81 kB / 0.6687 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1653, allocations: 0 / 0.6687 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002115/0.1655, allocations: 81.59 kB / 0.6688 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1655, allocations: 4 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1655, allocations: 0 / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1655, allocations: 3.938 kB / 0.6688 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.1656, allocations: 11.98 kB / 0.6688 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1656, allocations: 0 / 0.6688 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.1657, allocations: 4 kB / 0.6688 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1657, allocations: 0 / 0.6688 GB, free: 1.934 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 0.0001014/0.1658, allocations: 121.8 kB / 0.6689 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.1658, allocations: 4 kB / 0.6689 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.166, allocations: 77.12 kB / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.166, allocations: 0 / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.166, allocations: 0 / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.166, allocations: 0 / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.1662, allocations: 165.6 kB / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1662, allocations: 256 / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.1663, allocations: 23.95 kB / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1663, allocations: 0 / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1663, allocations: 0 / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1663, allocations: 0 / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1663, allocations: 0 / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1666, allocations: 171.4 kB / 0.6694 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.1666, allocations: 81.14 kB / 0.6694 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1666, allocations: 3.984 kB / 0.6694 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.1667, allocations: 7.984 kB / 0.6695 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1667, allocations: 7.938 kB / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1667, allocations: 0 / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.1668, allocations: 87.27 kB / 0.6695 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1668, allocations: 0 / 0.6695 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002215/0.167, allocations: 8 kB / 0.6696 GB, free: 1.09 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.0001456/0.1672, allocations: 103.2 kB / 0.6696 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1674, allocations: 43.95 kB / 0.6697 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1674, allocations: 0 / 0.6697 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.1675, allocations: 15.98 kB / 0.6697 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1677, allocations: 9.812 kB / 0.6697 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.1681, allocations: 159 kB / 0.6699 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1684, allocations: 0.6768 MB / 0.6705 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.1684, allocations: 11.44 kB / 0.6705 GB, free: 8 kB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1684, allocations: 3.938 kB / 0.6705 GB, free: 4 kB / 0.4981 GB Notification: Performance of Templates: time 0.002507/0.1709, allocations: 0.6701 MB / 0.6712 GB, free: 15.33 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)