Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9062/0.9062, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7946/0.7946, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.55e-05, allocations: 11.14 kB / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001726/0.001742, allocations: 1.49 MB / 481.5 MB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002437/0.001985, allocations: 80.3 kB / 481.6 MB, free: 5.379 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.00201, allocations: 4 kB / 481.6 MB, free: 5.375 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.002061, allocations: 8.578 kB / 481.6 MB, free: 5.367 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.002097, allocations: 3.578 kB / 481.6 MB, free: 5.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.002314, allocations: 19.97 kB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.002376, allocations: 24.36 kB / 481.6 MB, free: 5.328 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.002435, allocations: 4.625 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.002596, allocations: 20.38 kB / 481.7 MB, free: 5.309 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.481e-05/0.002631, allocations: 5.516 kB / 481.7 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.002648, allocations: 4 kB / 481.7 MB, free: 5.301 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.002721, allocations: 27.84 kB / 481.7 MB, free: 5.273 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.002752, allocations: 5.422 kB / 481.7 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.002768, allocations: 4.875 kB / 481.7 MB, free: 5.266 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.002866, allocations: 29.16 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.002869, allocations: 4.984 kB / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.00287, allocations: 0 / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.002873, allocations: 0 / 481.7 MB, free: 5.234 MB / 442.7 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.0002574/0.00313, allocations: 236.9 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.003162, allocations: 8.031 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.003186, allocations: 6.812 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.003259, allocations: 109.8 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.003269, allocations: 4.375 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.003278, allocations: 0.9219 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.003368, allocations: 58.62 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.003376, allocations: 4.172 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-06/0.003382, allocations: 384 / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003387, allocations: 1.375 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.003406, allocations: 8.484 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.003599, allocations: 158.5 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.003649, allocations: 72.5 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.003661, allocations: 4.859 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.003692, allocations: 8 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.00371, allocations: 31.98 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.003711, allocations: 0 / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.258e-05/0.003803, allocations: 38.91 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.003829, allocations: 55.34 kB / 482.5 MB, free: 4.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.003881, allocations: 114.7 kB / 482.6 MB, free: 4.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.00389, allocations: 26.77 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.003912, allocations: 84.09 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.003928, allocations: 18.02 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.00395, allocations: 9.719 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.004016, allocations: 318.8 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.004024, allocations: 3.547 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.004032, allocations: 7.938 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.004051, allocations: 13.12 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004053, allocations: 0 / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.789e-05/0.004091, allocations: 38.25 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.0041, allocations: 4 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.004103, allocations: 2.391 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.004113, allocations: 0 / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.004166, allocations: 7.938 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.004169, allocations: 0 / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.004184, allocations: 12.67 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.004188, allocations: 0 / 483.2 MB, free: 3.652 MB / 442.7 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 4.711e-05/0.004235, allocations: 117.2 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.004246, allocations: 2.109 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.004303, allocations: 42.03 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.004304, allocations: 0 / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.004307, allocations: 4.562 kB / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.004309, allocations: 0 / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.648e-05/0.004386, allocations: 75.12 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004386, allocations: 0.625 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.004402, allocations: 4.547 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.004403, allocations: 4.625 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.004408, allocations: 0.625 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.004408, allocations: 256 / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00441, allocations: 4.625 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.385e-05/0.004484, allocations: 184.4 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.004489, allocations: 4 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-06/0.004495, allocations: 0.9375 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.731e-05/0.004523, allocations: 3.984 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.004544, allocations: 5.688 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.004546, allocations: 0.6562 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.5e-05/0.004561, allocations: 20.78 kB / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004561, allocations: 0 / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000129/0.00469, allocations: 4 kB / 483.6 MB, free: 3.141 MB / 442.7 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 7.894e-05/0.004769, allocations: 77.64 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.981e-05/0.004819, allocations: 22.94 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.004821, allocations: 0 / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.004832, allocations: 9.453 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.004945, allocations: 6.016 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.005132, allocations: 116.2 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.005162, allocations: 51.36 kB / 483.9 MB, free: 2.809 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.447e-05/0.005176, allocations: 4.781 kB / 483.9 MB, free: 2.805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.005209, allocations: 51.36 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.005209, allocations: 1.562 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of Templates: time 0.001836/0.007045, allocations: 0.5496 MB / 484.5 MB, free: 2.238 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5229193470440805]