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.001131/0.001131, allocations: 103.3 kB / 16.41 MB, free: 6.5 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.001227/0.001227, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7401/0.7401, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 64.28 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1163, allocations: 80.92 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001416/0.1178, allocations: 0.5721 MB / 0.6659 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001929/0.118, allocations: 35.88 kB / 0.6659 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.098e-05/0.118, allocations: 0 / 0.6659 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.118, allocations: 0 / 0.6659 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.118, allocations: 0 / 0.6659 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1183, allocations: 11.94 kB / 0.6659 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.409e-05/0.1183, allocations: 7.984 kB / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1183, allocations: 4 kB / 0.666 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/0.1184, allocations: 7.938 kB / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.1184, allocations: 7.984 kB / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.1184, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.1185, allocations: 15.98 kB / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.144e-06/0.1185, allocations: 0 / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.1185, allocations: 0 / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.1186, allocations: 11.98 kB / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1186, allocations: 3.984 kB / 0.666 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1186, allocations: 0 / 0.666 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1186, allocations: 4 kB / 0.666 GB, free: 5.066 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.0002525/0.1189, allocations: 319.4 kB / 0.6663 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1189, allocations: 9.109 kB / 0.6663 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.119, allocations: 0.9375 kB / 0.6663 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.178e-05/0.119, allocations: 171 kB / 0.6665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-06/0.1191, allocations: 384 / 0.6665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.1191, allocations: 384 / 0.6665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.789e-05/0.1191, allocations: 26.27 kB / 0.6665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1191, allocations: 192 / 0.6665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1192, allocations: 7.938 kB / 0.6665 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-06/0.1192, allocations: 7.938 kB / 0.6665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.1192, allocations: 0 / 0.6665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.1193, allocations: 149.7 kB / 0.6667 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.1194, allocations: 22.55 kB / 0.6667 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.1194, allocations: 8.797 kB / 0.6667 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1194, allocations: 4.062 kB / 0.6667 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1194, allocations: 34.56 kB / 0.6667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1194, allocations: 0 / 0.6667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001083/0.1196, allocations: 41.62 kB / 0.6668 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.1196, allocations: 55.34 kB / 0.6668 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.366e-05/0.1196, allocations: 89.86 kB / 0.6669 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1196, allocations: 33.69 kB / 0.6669 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.1197, allocations: 80.14 kB / 0.667 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1197, allocations: 0 / 0.667 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.1197, allocations: 14.19 kB / 0.667 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.1198, allocations: 314.8 kB / 0.6673 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.1198, allocations: 4 kB / 0.6673 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.1199, allocations: 0 / 0.6673 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.1199, allocations: 8.859 kB / 0.6673 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1199, allocations: 0 / 0.6673 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.874e-05/0.1199, allocations: 33.69 kB / 0.6674 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.12, allocations: 12.03 kB / 0.6674 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.12, allocations: 4 kB / 0.6674 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.12, allocations: 3.938 kB / 0.6674 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.12, allocations: 0 / 0.6674 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.12, allocations: 4 kB / 0.6674 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.1201, allocations: 0 / 0.6674 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1201, allocations: 0 / 0.6674 GB, free: 3.414 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 5.74e-05/0.1201, allocations: 105.8 kB / 0.6675 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.1201, allocations: 0 / 0.6675 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.87e-05/0.1202, allocations: 56.75 kB / 0.6676 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1202, allocations: 0 / 0.6676 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1202, allocations: 0 / 0.6676 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1203, allocations: 0 / 0.6676 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.781e-05/0.1203, allocations: 149.7 kB / 0.6677 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1203, allocations: 0 / 0.6677 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.1204, allocations: 0 / 0.6677 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1204, allocations: 3.938 kB / 0.6677 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1204, allocations: 7.969 kB / 0.6677 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1204, allocations: 4 kB / 0.6677 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1204, allocations: 3.938 kB / 0.6677 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.573e-05/0.1205, allocations: 57.12 kB / 0.6678 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.1205, allocations: 81.05 kB / 0.6679 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1205, allocations: 7.938 kB / 0.6679 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/0.1205, allocations: 0 / 0.6679 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-06/0.1205, allocations: 32 / 0.6679 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1205, allocations: 4 kB / 0.6679 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.1206, allocations: 79.28 kB / 0.6679 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1206, allocations: 0 / 0.6679 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002081/0.1208, allocations: 12 kB / 0.6679 GB, free: 2.746 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.0001209/0.1209, allocations: 116.5 kB / 0.6681 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.874e-05/0.121, allocations: 7.938 kB / 0.6681 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.121, allocations: 0 / 0.6681 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.121, allocations: 4.062 kB / 0.6681 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.1211, allocations: 7.375 kB / 0.6681 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.1213, allocations: 110.5 kB / 0.6682 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.1215, allocations: 0.6729 MB / 0.6688 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.1215, allocations: 11.44 kB / 0.6689 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1215, allocations: 0 / 0.6689 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of Templates: time 0.001477/0.123, allocations: 447.7 kB / 0.6693 GB, free: 1.316 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)