Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.0009623/0.0009623, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009551/0.0009551, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9909/0.9909, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7899/0.7899, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.691e-05/3.933e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.002252/0.002292, allocations: 0.6002 MB / 0.521 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002681/0.00256, allocations: 26.22 kB / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.002577, allocations: 0 / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.002599, allocations: 0 / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.715e-06/0.002606, allocations: 0.8125 kB / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.00294, allocations: 17.72 kB / 0.521 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.002993, allocations: 4 kB / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.003034, allocations: 0 / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.003067, allocations: 3.984 kB / 0.521 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.614e-05/0.003093, allocations: 0.7656 kB / 0.521 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.00311, allocations: 1.719 kB / 0.521 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.003208, allocations: 19.91 kB / 0.521 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.003217, allocations: 0 / 0.521 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.003235, allocations: 4 kB / 0.521 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.003347, allocations: 16.69 kB / 0.5211 GB, free: 1.473 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003349, allocations: 0.75 kB / 0.5211 GB, free: 1.473 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.003351, allocations: 0 / 0.5211 GB, free: 1.473 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.003357, allocations: 1.312 kB / 0.5211 GB, free: 1.473 MB / 490.7 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.0003287/0.003685, allocations: 333.2 kB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.003732, allocations: 12.03 kB / 0.5214 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.003776, allocations: 2.188 kB / 0.5214 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.354e-05/0.003849, allocations: 112.6 kB / 0.5215 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.003862, allocations: 384 / 0.5215 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.003872, allocations: 4.375 kB / 0.5215 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.00397, allocations: 28.45 kB / 0.5215 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.003978, allocations: 1.062 kB / 0.5215 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.003989, allocations: 384 / 0.5215 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.003998, allocations: 384 / 0.5215 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.004018, allocations: 11.88 kB / 0.5215 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.004141, allocations: 106.5 kB / 0.5216 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.0042, allocations: 31.08 kB / 0.5217 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.004222, allocations: 11.69 kB / 0.5217 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.004263, allocations: 0 / 0.5217 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.004289, allocations: 41.95 kB / 0.5217 GB, free: 0.668 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.00429, allocations: 0 / 0.5217 GB, free: 0.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.004433, allocations: 34.55 kB / 0.5218 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.00447, allocations: 52.41 kB / 0.5218 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.004519, allocations: 142.2 kB / 0.5219 GB, free: 424 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.00453, allocations: 29.7 kB / 0.522 GB, free: 388 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.004565, allocations: 127.8 kB / 0.5221 GB, free: 256 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.004598, allocations: 3.984 kB / 0.5221 GB, free: 252 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.00463, allocations: 20.41 kB / 0.5221 GB, free: 224 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.004784, allocations: 0.4883 MB / 0.5226 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.004798, allocations: 0 / 0.5226 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.004806, allocations: 1.469 kB / 0.5226 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.004847, allocations: 15.62 kB / 0.5226 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.004849, allocations: 0 / 0.5226 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.799e-05/0.004917, allocations: 34.84 kB / 0.5226 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.004932, allocations: 8 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.004937, allocations: 0 / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.004952, allocations: 4.688 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.005023, allocations: 5.281 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.005028, allocations: 0 / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.005042, allocations: 3.938 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.005057, allocations: 4 kB / 0.5227 GB, free: 15.64 MB / 0.4948 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 8.137e-05/0.005138, allocations: 153.6 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-06/0.005148, allocations: 4.344 kB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.005263, allocations: 47.75 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005265, allocations: 0 / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.005269, allocations: 0 / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005272, allocations: 4 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.671e-05/0.005348, allocations: 120.5 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.00535, allocations: 0 / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.005377, allocations: 3.984 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.005381, allocations: 11.02 kB / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.005387, allocations: 0 / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.005395, allocations: 3.984 kB / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.005397, allocations: 0 / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.005476, allocations: 68.39 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.005482, allocations: 7.922 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.005493, allocations: 3.938 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.005504, allocations: 1.5 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.005521, allocations: 4 kB / 0.5231 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.005526, allocations: 0 / 0.5231 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.005563, allocations: 119.2 kB / 0.5232 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.005563, allocations: 0.5 kB / 0.5232 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000212/0.005775, allocations: 11.94 kB / 0.5232 GB, free: 15.02 MB / 0.4948 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.0001427/0.005918, allocations: 102.2 kB / 0.5233 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.318e-05/0.006011, allocations: 15.67 kB / 0.5233 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.006013, allocations: 0 / 0.5233 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.006024, allocations: 7.688 kB / 0.5233 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.006168, allocations: 4 kB / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.006403, allocations: 90.33 kB / 0.5234 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.00644, allocations: 55.36 kB / 0.5235 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.006469, allocations: 1.344 kB / 0.5235 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.006495, allocations: 12.48 kB / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.006496, allocations: 0 / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.002691/0.009187, allocations: 310.4 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9372827550396323]