Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006422/0.006422, allocations: 102.1 kB / 15.73 MB, free: 6.477 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.001505/0.001505, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9669/0.9669, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 0.5857 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4425, allocations: 80.92 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001485/0.4441, allocations: 0.5695 MB / 0.6652 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002372/0.4443, allocations: 34.38 kB / 0.6653 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.4444, allocations: 3.938 kB / 0.6653 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.4444, allocations: 0 / 0.6653 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.4444, allocations: 0 / 0.6653 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.4447, allocations: 23.14 kB / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.18e-05/0.4447, allocations: 1.219 kB / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.4448, allocations: 1.375 kB / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.4448, allocations: 0 / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.4449, allocations: 9.391 kB / 0.6653 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.4449, allocations: 0 / 0.6653 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.898e-05/0.445, allocations: 16.2 kB / 0.6653 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-06/0.445, allocations: 0 / 0.6653 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.445, allocations: 1.219 kB / 0.6653 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.674e-05/0.4451, allocations: 17.69 kB / 0.6653 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4451, allocations: 1.344 kB / 0.6653 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4451, allocations: 0 / 0.6653 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.4451, allocations: 0 / 0.6653 GB, free: 7.09 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.0002622/0.4454, allocations: 311.8 kB / 0.6656 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4454, allocations: 13.16 kB / 0.6657 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.4455, allocations: 6.281 kB / 0.6657 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.016e-05/0.4455, allocations: 168.4 kB / 0.6658 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4455, allocations: 4.312 kB / 0.6658 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.4456, allocations: 1.75 kB / 0.6658 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.4457, allocations: 31.64 kB / 0.6659 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4457, allocations: 192 / 0.6659 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4457, allocations: 9.297 kB / 0.6659 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4457, allocations: 0 / 0.6659 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.4457, allocations: 5.188 kB / 0.6659 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.4458, allocations: 147 kB / 0.666 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.591e-05/0.4459, allocations: 21.3 kB / 0.666 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.4459, allocations: 10.36 kB / 0.666 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.4459, allocations: 1.344 kB / 0.666 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.4459, allocations: 30.56 kB / 0.6661 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.446, allocations: 1.094 kB / 0.6661 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.4461, allocations: 42.94 kB / 0.6661 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.4461, allocations: 55.34 kB / 0.6662 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.856e-05/0.4461, allocations: 91.02 kB / 0.6663 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.4461, allocations: 25.7 kB / 0.6663 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.087e-05/0.4462, allocations: 80.14 kB / 0.6664 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.4462, allocations: 5.312 kB / 0.6664 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.4462, allocations: 15 kB / 0.6664 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.4463, allocations: 316.4 kB / 0.6667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.4463, allocations: 1.406 kB / 0.6667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.4463, allocations: 1.344 kB / 0.6667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.4463, allocations: 7.109 kB / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4463, allocations: 0 / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.559e-05/0.4464, allocations: 35.28 kB / 0.6667 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4464, allocations: 10.41 kB / 0.6667 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4464, allocations: 0 / 0.6667 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4464, allocations: 3.938 kB / 0.6667 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.4465, allocations: 6.625 kB / 0.6667 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4465, allocations: 0 / 0.6667 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.4465, allocations: 4 kB / 0.6667 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4465, allocations: 1.375 kB / 0.6667 GB, free: 5.488 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 4.674e-05/0.4466, allocations: 107.1 kB / 0.6668 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.4466, allocations: 5.484 kB / 0.6669 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.996e-05/0.4467, allocations: 42.08 kB / 0.6669 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4467, allocations: 5.188 kB / 0.6669 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4467, allocations: 0 / 0.6669 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4467, allocations: 0 / 0.6669 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.576e-05/0.4468, allocations: 151.1 kB / 0.667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4468, allocations: 0 / 0.667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.4468, allocations: 2.781 kB / 0.667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.4468, allocations: 3.938 kB / 0.667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.4468, allocations: 5.25 kB / 0.6671 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4468, allocations: 4 kB / 0.6671 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4468, allocations: 4.031 kB / 0.6671 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.573e-05/0.4469, allocations: 60.69 kB / 0.6671 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.4469, allocations: 77.11 kB / 0.6672 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.4469, allocations: 5.344 kB / 0.6672 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.4469, allocations: 0 / 0.6672 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.447, allocations: 0 / 0.6672 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.447, allocations: 1.5 kB / 0.6672 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.47e-05/0.447, allocations: 81.98 kB / 0.6673 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.447, allocations: 1.406 kB / 0.6673 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002001/0.4472, allocations: 11.52 kB / 0.6673 GB, free: 4.855 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.0001394/0.4473, allocations: 104.6 kB / 0.6674 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.4474, allocations: 8.281 kB / 0.6674 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4474, allocations: 0 / 0.6674 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.4474, allocations: 2.875 kB / 0.6674 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.4476, allocations: 7.406 kB / 0.6674 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/0.4477, allocations: 94.11 kB / 0.6675 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.4478, allocations: 0.6703 MB / 0.6681 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.4479, allocations: 2.688 kB / 0.6682 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.4479, allocations: 7.438 kB / 0.6682 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4479, allocations: 5.125 kB / 0.6682 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of Templates: time 0.002122/0.45, allocations: 282.2 kB / 0.6684 GB, free: 3.789 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)