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.00124/0.00124, allocations: 104 kB / 16.35 MB, free: 5.824 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.001225/0.001225, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.299/1.299, 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.8154/0.8154, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3562, allocations: 80.91 MB / 0.5858 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002313/0.3586, allocations: 1.422 MB / 0.5872 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002545/0.3589, allocations: 92.17 kB / 0.5872 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.3589, allocations: 1.094 kB / 0.5872 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.359, allocations: 3.938 kB / 0.5872 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.359, allocations: 17.56 kB / 0.5873 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3592, allocations: 19.23 kB / 0.5873 GB, free: 24.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.3593, allocations: 29.55 kB / 0.5873 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.3594, allocations: 3.75 kB / 0.5873 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.3594, allocations: 9.438 kB / 0.5873 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.3595, allocations: 14.67 kB / 0.5873 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3595, allocations: 3.938 kB / 0.5873 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.916e-05/0.3596, allocations: 17.58 kB / 0.5874 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.3596, allocations: 9.359 kB / 0.5874 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.3596, allocations: 5.344 kB / 0.5874 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.3597, allocations: 39.69 kB / 0.5874 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3598, allocations: 0.7188 kB / 0.5874 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3598, allocations: 1.438 kB / 0.5874 GB, free: 24.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3598, allocations: 4.906 kB / 0.5874 GB, free: 24.54 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.0003244/0.3601, allocations: 345 kB / 0.5877 GB, free: 24.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.3601, allocations: 10.7 kB / 0.5878 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.3602, allocations: 7.375 kB / 0.5878 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.3602, allocations: 170.4 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3603, allocations: 5.25 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.3603, allocations: 1.656 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3604, allocations: 56.42 kB / 0.588 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3605, allocations: 192 / 0.588 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3605, allocations: 6.375 kB / 0.588 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3605, allocations: 0 / 0.588 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3606, allocations: 33.88 kB / 0.588 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.3609, allocations: 254.5 kB / 0.5883 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.361, allocations: 46.61 kB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.55e-05/0.3611, allocations: 28.34 kB / 0.5883 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3611, allocations: 3.375 kB / 0.5883 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.3611, allocations: 33.44 kB / 0.5884 GB, free: 23.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3612, allocations: 0 / 0.5884 GB, free: 23.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003053/0.3615, allocations: 95.11 kB / 0.5885 GB, free: 23.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.3615, allocations: 51.41 kB / 0.5885 GB, free: 23.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.3616, allocations: 106.2 kB / 0.5886 GB, free: 23.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.3616, allocations: 27.42 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.3616, allocations: 86.92 kB / 0.5887 GB, free: 23.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.3616, allocations: 7.891 kB / 0.5887 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.3616, allocations: 16.94 kB / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.3617, allocations: 312.8 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.3618, allocations: 14.98 kB / 0.5891 GB, free: 22.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.3618, allocations: 24.25 kB / 0.5891 GB, free: 22.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.362, allocations: 40.05 kB / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.362, allocations: 5.875 kB / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001638/0.3622, allocations: 78.69 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3622, allocations: 7.594 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3622, allocations: 1.031 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3622, allocations: 1.188 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.3623, allocations: 9.641 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3623, allocations: 1.969 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.3623, allocations: 8.609 kB / 0.5892 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3624, allocations: 1.406 kB / 0.5892 GB, free: 22.72 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 5.575e-05/0.3624, allocations: 113.2 kB / 0.5893 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.3624, allocations: 1.281 kB / 0.5893 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.3627, allocations: 86.52 kB / 0.5894 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3627, allocations: 256 / 0.5894 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3627, allocations: 1.219 kB / 0.5894 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3627, allocations: 4 kB / 0.5894 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3628, allocations: 168.7 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3628, allocations: 0 / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.3629, allocations: 10.3 kB / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3629, allocations: 0 / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3629, allocations: 1.875 kB / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3629, allocations: 0.5625 kB / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3629, allocations: 3.938 kB / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.3631, allocations: 173 kB / 0.5898 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.3631, allocations: 78.45 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.3631, allocations: 1.375 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.3632, allocations: 12.58 kB / 0.5899 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.3632, allocations: 5.312 kB / 0.5899 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3632, allocations: 1.344 kB / 0.5899 GB, free: 22.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.404e-05/0.3633, allocations: 84.77 kB / 0.5899 GB, free: 21.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3633, allocations: 1 kB / 0.5899 GB, free: 21.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.3635, allocations: 11.91 kB / 0.59 GB, free: 21.98 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.0001324/0.3636, allocations: 99.62 kB / 0.59 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3639, allocations: 40.05 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3639, allocations: 0 / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.3639, allocations: 21.7 kB / 0.5901 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3642, allocations: 7.969 kB / 0.5901 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.3645, allocations: 120.2 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.3646, allocations: 0.6819 MB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.278e-05/0.3647, allocations: 3.031 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.3647, allocations: 8.812 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3647, allocations: 5 kB / 0.5909 GB, free: 21.03 MB / 446.1 MB Notification: Performance of Templates: time 0.002483/0.3672, allocations: 0.5284 MB / 0.5914 GB, free: 20.55 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)