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.001534/0.001534, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001789/0.001789, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.391/1.391, 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.8226/0.8226, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.38 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1547, allocations: 80.94 MB / 0.6654 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001676/0.1564, allocations: 0.5604 MB / 0.6659 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000255/0.1566, allocations: 31.88 kB / 0.6659 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.1567, allocations: 0 / 0.6659 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.1567, allocations: 0 / 0.6659 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.1567, allocations: 0 / 0.6659 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.157, allocations: 19.92 kB / 0.6659 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.179e-05/0.1571, allocations: 4 kB / 0.666 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.1571, allocations: 4 kB / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.1571, allocations: 7.984 kB / 0.666 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.1572, allocations: 3.938 kB / 0.666 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.1572, allocations: 0 / 0.666 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.1573, allocations: 15.98 kB / 0.666 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.1573, allocations: 0 / 0.666 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1573, allocations: 0 / 0.666 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.243e-05/0.1574, allocations: 19.97 kB / 0.666 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1574, allocations: 0 / 0.666 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1574, allocations: 0 / 0.666 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.1575, allocations: 4 kB / 0.666 GB, free: 5.215 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.0003298/0.1578, allocations: 315.4 kB / 0.6663 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1578, allocations: 9.109 kB / 0.6663 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1579, allocations: 8.922 kB / 0.6663 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.158, allocations: 167 kB / 0.6665 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.158, allocations: 4.375 kB / 0.6665 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.158, allocations: 384 / 0.6665 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.014e-05/0.1581, allocations: 30.2 kB / 0.6665 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1581, allocations: 4.188 kB / 0.6665 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1581, allocations: 3.938 kB / 0.6665 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1581, allocations: 4 kB / 0.6665 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.1582, allocations: 0 / 0.6665 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1583, allocations: 145.7 kB / 0.6667 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.1584, allocations: 26.55 kB / 0.6667 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.1584, allocations: 4.859 kB / 0.6667 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.1584, allocations: 4.062 kB / 0.6667 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1585, allocations: 38.5 kB / 0.6667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1585, allocations: 0 / 0.6667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.1586, allocations: 37.62 kB / 0.6668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1587, allocations: 55.34 kB / 0.6668 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.478e-05/0.1587, allocations: 89.86 kB / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1587, allocations: 29.7 kB / 0.6669 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.1587, allocations: 80.14 kB / 0.667 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1588, allocations: 4.125 kB / 0.667 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1588, allocations: 14.06 kB / 0.667 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1589, allocations: 314.8 kB / 0.6673 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.1589, allocations: 0 / 0.6673 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.159, allocations: 0 / 0.6673 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.159, allocations: 12.84 kB / 0.6673 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.159, allocations: 0 / 0.6673 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.1591, allocations: 33.7 kB / 0.6674 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1591, allocations: 16.03 kB / 0.6674 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1591, allocations: 0 / 0.6674 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1591, allocations: 3.938 kB / 0.6674 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.1592, allocations: 0 / 0.6674 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.1592, allocations: 7.984 kB / 0.6674 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.1592, allocations: 0 / 0.6674 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1592, allocations: 0 / 0.6674 GB, free: 3.559 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 7.675e-05/0.1593, allocations: 109.8 kB / 0.6675 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.1593, allocations: 0 / 0.6675 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1594, allocations: 48.77 kB / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1594, allocations: 0 / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1594, allocations: 0 / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1594, allocations: 3.984 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1596, allocations: 149.7 kB / 0.6677 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1596, allocations: 0 / 0.6677 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.1596, allocations: 0 / 0.6677 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1596, allocations: 3.938 kB / 0.6677 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1596, allocations: 11.97 kB / 0.6677 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1596, allocations: 7.938 kB / 0.6677 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1596, allocations: 0 / 0.6677 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.224e-05/0.1597, allocations: 57.12 kB / 0.6678 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.1598, allocations: 81.05 kB / 0.6679 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1598, allocations: 7.938 kB / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.1598, allocations: 0 / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.1598, allocations: 8.016 kB / 0.6679 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1598, allocations: 0 / 0.6679 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.1599, allocations: 83.27 kB / 0.668 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1599, allocations: 0 / 0.668 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001984/0.1601, allocations: 12 kB / 0.668 GB, free: 2.879 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.0001581/0.1602, allocations: 104.5 kB / 0.6681 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.1603, allocations: 7.938 kB / 0.6681 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1603, allocations: 64 / 0.6681 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.1603, allocations: 4 kB / 0.6681 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.1605, allocations: 4 kB / 0.6681 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.1606, allocations: 110.5 kB / 0.6682 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1609, allocations: 0.669 MB / 0.6688 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1609, allocations: 11.44 kB / 0.6688 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1609, allocations: 0 / 0.6688 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.001792/0.1627, allocations: 451.7 kB / 0.6693 GB, free: 1.461 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)