Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 107.7 kB / 16.41 MB, free: 6.441 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.00125/0.001251, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 66.56 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1513, allocations: 80.2 MB / 0.6604 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001958/0.1533, allocations: 0.5873 MB / 0.6609 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.1536, allocations: 35.88 kB / 0.661 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.1537, allocations: 0 / 0.661 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.1537, allocations: 0 / 0.661 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.1537, allocations: 4 kB / 0.661 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.154, allocations: 8 kB / 0.661 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.898e-05/0.1541, allocations: 3.984 kB / 0.661 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.1541, allocations: 8 kB / 0.661 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.1542, allocations: 3.938 kB / 0.661 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.1542, allocations: 0 / 0.661 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1542, allocations: 0 / 0.661 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1543, allocations: 19.92 kB / 0.661 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.1544, allocations: 4 kB / 0.661 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.1544, allocations: 3.984 kB / 0.661 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.1545, allocations: 15.98 kB / 0.661 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1545, allocations: 0 / 0.661 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1545, allocations: 0 / 0.661 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.1545, allocations: 3.984 kB / 0.661 GB, free: 9.676 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002802/0.1548, allocations: 307.6 kB / 0.6613 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1548, allocations: 12.03 kB / 0.6613 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.1549, allocations: 0.9375 kB / 0.6614 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.155, allocations: 168.4 kB / 0.6615 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.155, allocations: 384 / 0.6615 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.155, allocations: 4.375 kB / 0.6615 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.1551, allocations: 36.75 kB / 0.6616 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1551, allocations: 192 / 0.6616 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1551, allocations: 3.938 kB / 0.6616 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1551, allocations: 0 / 0.6616 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.1551, allocations: 3.984 kB / 0.6616 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.1553, allocations: 153.6 kB / 0.6617 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.1553, allocations: 18.58 kB / 0.6617 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.1554, allocations: 16.89 kB / 0.6617 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1554, allocations: 0 / 0.6617 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1554, allocations: 34.5 kB / 0.6618 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1554, allocations: 0 / 0.6618 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.1556, allocations: 37.64 kB / 0.6618 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1556, allocations: 51.53 kB / 0.6619 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.354e-05/0.1557, allocations: 93.86 kB / 0.6619 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1557, allocations: 25.7 kB / 0.662 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.1557, allocations: 84.12 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1557, allocations: 4 kB / 0.6621 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1558, allocations: 14.06 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.156, allocations: 310.8 kB / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-06/0.156, allocations: 0 / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-06/0.156, allocations: 4 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.156, allocations: 12.86 kB / 0.6624 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.156, allocations: 0 / 0.6624 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.064e-05/0.1561, allocations: 41.69 kB / 0.6624 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1561, allocations: 4 kB / 0.6624 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1561, allocations: 0 / 0.6624 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1561, allocations: 3.938 kB / 0.6624 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.1562, allocations: 4 kB / 0.6624 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1562, allocations: 0 / 0.6624 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.1562, allocations: 32 / 0.6624 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1562, allocations: 4 kB / 0.6624 GB, free: 8.027 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 (1): * Single equations (assignments): 1 * 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.0001406/0.1564, allocations: 109.8 kB / 0.6625 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.1564, allocations: 0 / 0.6625 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1565, allocations: 48.69 kB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1565, allocations: 4 kB / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1565, allocations: 32 / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1565, allocations: 4 kB / 0.6626 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1567, allocations: 145.7 kB / 0.6627 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1567, allocations: 0 / 0.6627 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.1568, allocations: 8 kB / 0.6627 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1568, allocations: 0 / 0.6627 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1568, allocations: 7.875 kB / 0.6627 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1568, allocations: 0 / 0.6627 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1568, allocations: 0 / 0.6627 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1569, allocations: 72.97 kB / 0.6628 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.157, allocations: 77.11 kB / 0.6629 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.157, allocations: 3.938 kB / 0.6629 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.157, allocations: 0 / 0.6629 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.157, allocations: 0 / 0.6629 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.157, allocations: 7.938 kB / 0.6629 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.628e-05/0.1571, allocations: 79.28 kB / 0.663 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1571, allocations: 0 / 0.663 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002296/0.1573, allocations: 8 kB / 0.663 GB, free: 7.355 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 (1): * Single equations (assignments): 1 * 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.0001453/0.1574, allocations: 111.2 kB / 0.6631 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.048e-05/0.1575, allocations: 4 kB / 0.6631 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1575, allocations: 0 / 0.6631 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.1576, allocations: 7.938 kB / 0.6631 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1577, allocations: 1.719 kB / 0.6631 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.1579, allocations: 109.1 kB / 0.6632 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1582, allocations: 0.6769 MB / 0.6639 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1583, allocations: 11.44 kB / 0.6639 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1583, allocations: 0 / 0.6639 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of Templates: time 0.001663/0.16, allocations: 443.7 kB / 0.6643 GB, free: 5.938 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)