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.001428/0.001428, allocations: 110 kB / 16.37 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.001616/0.001616, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8095/0.8095, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.88 kB / 0.5068 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3579, allocations: 80.9 MB / 0.5858 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002348/0.3603, allocations: 1.422 MB / 0.5872 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.3606, allocations: 100.5 kB / 0.5872 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.3607, allocations: 0.8125 kB / 0.5872 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.922e-05/0.3607, allocations: 3.938 kB / 0.5873 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.3608, allocations: 5.594 kB / 0.5873 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.361, allocations: 20.77 kB / 0.5873 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.3611, allocations: 29.16 kB / 0.5873 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.3612, allocations: 7.594 kB / 0.5873 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.3612, allocations: 11.83 kB / 0.5873 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.3613, allocations: 12.44 kB / 0.5873 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3613, allocations: 3 kB / 0.5873 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-05/0.3614, allocations: 21.22 kB / 0.5874 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.3614, allocations: 5.094 kB / 0.5874 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.3615, allocations: 10.5 kB / 0.5874 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3616, allocations: 35.22 kB / 0.5874 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3616, allocations: 0 / 0.5874 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3616, allocations: 7.219 kB / 0.5874 GB, free: 24.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3616, allocations: 0 / 0.5874 GB, free: 24.1 MB / 446.1 MB 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.0003596/0.362, allocations: 343.6 kB / 0.5877 GB, free: 23.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.362, allocations: 12.17 kB / 0.5878 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.362, allocations: 11.03 kB / 0.5878 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.3621, allocations: 173.5 kB / 0.5879 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3622, allocations: 2.688 kB / 0.5879 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3622, allocations: 384 / 0.5879 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3623, allocations: 57.73 kB / 0.588 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3624, allocations: 4.172 kB / 0.588 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3624, allocations: 5.062 kB / 0.588 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3624, allocations: 0 / 0.588 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3625, allocations: 38.98 kB / 0.588 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.3628, allocations: 252.7 kB / 0.5883 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3629, allocations: 47.86 kB / 0.5883 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/0.363, allocations: 21.28 kB / 0.5883 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3631, allocations: 3.469 kB / 0.5883 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.3631, allocations: 31.69 kB / 0.5884 GB, free: 23.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3631, allocations: 0 / 0.5884 GB, free: 23.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003322/0.3634, allocations: 94.8 kB / 0.5885 GB, free: 23.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3635, allocations: 55.89 kB / 0.5885 GB, free: 22.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.3635, allocations: 102.5 kB / 0.5886 GB, free: 22.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3636, allocations: 31.52 kB / 0.5886 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.3636, allocations: 87.03 kB / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.3636, allocations: 3.906 kB / 0.5887 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.3636, allocations: 16.09 kB / 0.5887 GB, free: 22.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.3637, allocations: 312.7 kB / 0.589 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.3638, allocations: 24.09 kB / 0.5891 GB, free: 22.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.3639, allocations: 15.64 kB / 0.5891 GB, free: 22.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.364, allocations: 39.39 kB / 0.5891 GB, free: 22.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.364, allocations: 2.375 kB / 0.5891 GB, free: 22.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001716/0.3642, allocations: 79.94 kB / 0.5892 GB, free: 22.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3642, allocations: 5.344 kB / 0.5892 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3642, allocations: 0 / 0.5892 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3642, allocations: 6.531 kB / 0.5892 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.3643, allocations: 13.3 kB / 0.5892 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3643, allocations: 1.469 kB / 0.5892 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.3644, allocations: 7.859 kB / 0.5892 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3644, allocations: 1.156 kB / 0.5892 GB, free: 22.27 MB / 446.1 MB 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 6.373e-05/0.3645, allocations: 113.9 kB / 0.5893 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3645, allocations: 9.281 kB / 0.5893 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.3647, allocations: 81.05 kB / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3647, allocations: 0 / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3647, allocations: 1.375 kB / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3647, allocations: 0 / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3649, allocations: 166.2 kB / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3649, allocations: 0 / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.3649, allocations: 10.52 kB / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3649, allocations: 1.375 kB / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.365, allocations: 0 / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.365, allocations: 0 / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.365, allocations: 2.094 kB / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3652, allocations: 168.5 kB / 0.5898 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.3652, allocations: 86.62 kB / 0.5898 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3652, allocations: 0.875 kB / 0.5898 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3653, allocations: 7.688 kB / 0.5899 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.3653, allocations: 5.859 kB / 0.5899 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3653, allocations: 1.594 kB / 0.5899 GB, free: 21.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.667e-05/0.3654, allocations: 85.72 kB / 0.5899 GB, free: 21.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3654, allocations: 0 / 0.5899 GB, free: 21.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.3656, allocations: 7.625 kB / 0.5899 GB, free: 21.55 MB / 446.1 MB 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.000134/0.3658, allocations: 103.5 kB / 0.59 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.366, allocations: 37.22 kB / 0.5901 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.366, allocations: 0 / 0.5901 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.3661, allocations: 24.53 kB / 0.5901 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.3663, allocations: 10.44 kB / 0.5901 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.3666, allocations: 119.7 kB / 0.5902 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.3667, allocations: 0.6823 MB / 0.5909 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.371e-05/0.3668, allocations: 6.188 kB / 0.5909 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.3668, allocations: 12.97 kB / 0.5909 GB, free: 20.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3668, allocations: 0.9688 kB / 0.5909 GB, free: 20.59 MB / 446.1 MB Notification: Performance of Templates: time 0.002619/0.3694, allocations: 0.5412 MB / 0.5914 GB, free: 20.34 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)