Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") translateModel(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00139/0.00139, allocations: 191.7 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.411/0.411, allocations: 54.93 MB / 324.3 MB, free: 32 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 67.89 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1431, allocations: 59.59 MB / 454.3 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.2151/0.3582, allocations: 0.6013 MB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002515/0.3585, allocations: 36.83 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.085e-05/0.3585, allocations: 0 / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.3586, allocations: 0 / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.3586, allocations: 1.344 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3589, allocations: 8.031 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.778e-05/0.3589, allocations: 8.688 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.359, allocations: 4.688 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.359, allocations: 0.7188 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.359, allocations: 4.734 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.359, allocations: 1.844 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.3591, allocations: 12.91 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-06/0.3591, allocations: 3 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.3592, allocations: 4.906 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.992e-05/0.3593, allocations: 18.61 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3593, allocations: 2.25 kB / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3593, allocations: 0 / 455 MB, free: 39.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3593, allocations: 4.5 kB / 455 MB, free: 39.17 MB / 382.1 MB 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.0002044/0.3595, allocations: 310.8 kB / 455.3 MB, free: 38.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.3595, allocations: 7.906 kB / 455.3 MB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.3596, allocations: 4.844 kB / 455.3 MB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.418e-05/0.3596, allocations: 163.8 kB / 455.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-06/0.3596, allocations: 384 / 455.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3596, allocations: 0.9688 kB / 455.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.147e-05/0.3597, allocations: 36.34 kB / 455.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.3597, allocations: 0.625 kB / 455.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3597, allocations: 0.5 kB / 455.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3597, allocations: 0 / 455.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.3598, allocations: 12.12 kB / 455.6 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.007e-05/0.3599, allocations: 144.4 kB / 455.7 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.848e-05/0.3599, allocations: 20.67 kB / 455.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.3599, allocations: 7.734 kB / 455.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3599, allocations: 4.672 kB / 455.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.36, allocations: 35.19 kB / 455.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.36, allocations: 9.094 kB / 455.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 9.998e-05/0.3601, allocations: 35.3 kB / 455.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/0.3601, allocations: 51.97 kB / 455.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.413e-05/0.3601, allocations: 93.89 kB / 456 MB, free: 38.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.3601, allocations: 25.7 kB / 456 MB, free: 38.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-06/0.3601, allocations: 82.17 kB / 456.1 MB, free: 38.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.3602, allocations: 0 / 456.1 MB, free: 38.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.3602, allocations: 13.19 kB / 456.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.3602, allocations: 314 kB / 456.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.3603, allocations: 8.391 kB / 456.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.3603, allocations: 3.5 kB / 456.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.3603, allocations: 11.08 kB / 456.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3603, allocations: 0 / 456.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.124e-05/0.3604, allocations: 33.52 kB / 456.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3604, allocations: 12.06 kB / 456.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3604, allocations: 0 / 456.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.3604, allocations: 0 / 456.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.3605, allocations: 6.781 kB / 456.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3605, allocations: 0 / 456.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.3605, allocations: 0 / 456.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3605, allocations: 7.094 kB / 456.5 MB, free: 37.66 MB / 382.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 (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 3.673e-05/0.3606, allocations: 110.3 kB / 456.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.3606, allocations: 7.375 kB / 456.6 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.3607, allocations: 44.17 kB / 456.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3607, allocations: 0.5938 kB / 456.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3607, allocations: 3 kB / 456.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.3607, allocations: 0 / 456.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.345e-05/0.3607, allocations: 148 kB / 456.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3607, allocations: 3.438 kB / 456.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.3608, allocations: 0 / 456.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3608, allocations: 5 kB / 456.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.3608, allocations: 4.125 kB / 456.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3608, allocations: 0 / 456.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3608, allocations: 0.7031 kB / 456.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.614e-05/0.3608, allocations: 65.02 kB / 456.8 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.3609, allocations: 80.23 kB / 456.9 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.3609, allocations: 7.562 kB / 456.9 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.3609, allocations: 0 / 456.9 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.3609, allocations: 2.125 kB / 456.9 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3609, allocations: 0 / 456.9 MB, free: 37.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.005e-05/0.3609, allocations: 78.28 kB / 457 MB, free: 37.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0.7188 kB / 457 MB, free: 37.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.3611, allocations: 5.188 kB / 457 MB, free: 37.09 MB / 382.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 (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.000102/0.3613, allocations: 106 kB / 457.1 MB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.365e-05/0.3613, allocations: 4.5 kB / 457.1 MB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3613, allocations: 0 / 457.1 MB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-06/0.3613, allocations: 6.781 kB / 457.1 MB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.3615, allocations: 7.219 kB / 457.1 MB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000136/0.3616, allocations: 80.5 kB / 457.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.354e-05/0.3617, allocations: 0.6729 MB / 457.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.626e-05/0.3617, allocations: 6.562 kB / 457.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.3618, allocations: 11.41 kB / 457.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3618, allocations: 0 / 457.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of Templates: time 0.001874/0.3636, allocations: 280.9 kB / 458.2 MB, free: 36.19 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)