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.001004/0.001004, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001/0.001, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9945/0.9945, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8073/0.8073, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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 1.473e-06/1.473e-06, allocations: 0 / 0.5216 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.422e-05, allocations: 6.312 kB / 0.5216 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001298/0.001322, allocations: 0.5931 MB / 0.5222 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.001506, allocations: 23.95 kB / 0.5222 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.378e-05/0.00152, allocations: 0.7656 kB / 0.5222 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.001533, allocations: 5.312 kB / 0.5222 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-06/0.001539, allocations: 0 / 0.5222 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.001822, allocations: 11.98 kB / 0.5222 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.001861, allocations: 4.531 kB / 0.5222 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.001893, allocations: 0.75 kB / 0.5222 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.001916, allocations: 3.938 kB / 0.5222 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.594e-05/0.001932, allocations: 1.469 kB / 0.5222 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.001943, allocations: 0 / 0.5222 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.002007, allocations: 15.97 kB / 0.5222 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.002017, allocations: 0 / 0.5222 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.035e-05/0.002028, allocations: 5.344 kB / 0.5222 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.59e-05/0.002104, allocations: 19.91 kB / 0.5223 GB, free: 1.176 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002106, allocations: 0 / 0.5223 GB, free: 1.176 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002107, allocations: 0 / 0.5223 GB, free: 1.176 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.002111, allocations: 3.438 kB / 0.5223 GB, free: 1.176 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.0002589/0.00237, allocations: 336.4 kB / 0.5226 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.002402, allocations: 12.03 kB / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.002424, allocations: 0.9375 kB / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.676e-05/0.002481, allocations: 108.6 kB / 0.5227 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.00249, allocations: 384 / 0.5227 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.002496, allocations: 4.375 kB / 0.5227 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.971e-05/0.002556, allocations: 34.25 kB / 0.5227 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.002562, allocations: 192 / 0.5227 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.00257, allocations: 4.922 kB / 0.5227 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.002574, allocations: 0.9375 kB / 0.5227 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.257e-05/0.002586, allocations: 8.469 kB / 0.5228 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.225e-05/0.002658, allocations: 89.27 kB / 0.5228 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.002693, allocations: 31.94 kB / 0.5229 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.002705, allocations: 7.688 kB / 0.5229 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.002728, allocations: 1.469 kB / 0.5229 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.002747, allocations: 37.45 kB / 0.5229 GB, free: 404 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.002747, allocations: 0 / 0.5229 GB, free: 404 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.572e-05/0.002843, allocations: 38.59 kB / 0.5229 GB, free: 360 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.002871, allocations: 51.41 kB / 0.523 GB, free: 296 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.002912, allocations: 147.2 kB / 0.5231 GB, free: 136 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.002922, allocations: 29.64 kB / 0.5232 GB, free: 100 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.002966, allocations: 130.9 kB / 0.5233 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.002995, allocations: 1.594 kB / 0.5233 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.003017, allocations: 15.38 kB / 0.5233 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.003133, allocations: 0.4922 MB / 0.5238 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.003142, allocations: 0 / 0.5238 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-06/0.003149, allocations: 8.797 kB / 0.5238 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.003177, allocations: 12.97 kB / 0.5238 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003179, allocations: 0 / 0.5238 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.647e-05/0.003225, allocations: 29.7 kB / 0.5238 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.00324, allocations: 9.344 kB / 0.5238 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003244, allocations: 0 / 0.5238 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.003252, allocations: 0 / 0.5238 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.003298, allocations: 3.938 kB / 0.5238 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.003301, allocations: 2.5 kB / 0.5239 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.003314, allocations: 7.984 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.003324, allocations: 0 / 0.5239 GB, free: 15.36 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 6.653e-05/0.003391, allocations: 160.5 kB / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-06/0.003396, allocations: 352 / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.003473, allocations: 43.05 kB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.003476, allocations: 3.984 kB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.003477, allocations: 0 / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.00348, allocations: 0 / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.455e-05/0.003545, allocations: 101.2 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.003546, allocations: 1.156 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.003559, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.003561, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.003566, allocations: 4 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.003567, allocations: 0.9375 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.00357, allocations: 7.922 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.834e-05/0.003628, allocations: 77.31 kB / 0.5242 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.003632, allocations: 0 / 0.5242 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.003639, allocations: 0.6562 kB / 0.5242 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-06/0.003643, allocations: 0 / 0.5242 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.003653, allocations: 1.188 kB / 0.5242 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.003658, allocations: 7.938 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.003695, allocations: 119.2 kB / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003695, allocations: 2.438 kB / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001277/0.003822, allocations: 7.938 kB / 0.5244 GB, free: 14.78 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.0001004/0.003923, allocations: 95.23 kB / 0.5245 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.786e-05/0.003981, allocations: 15.62 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.003982, allocations: 3.062 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.003989, allocations: 11.69 kB / 0.5245 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.15e-05/0.004081, allocations: 5.766 kB / 0.5245 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.004271, allocations: 91.94 kB / 0.5246 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.0043, allocations: 51.36 kB / 0.5246 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.004323, allocations: 9.969 kB / 0.5246 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.004357, allocations: 66.2 kB / 0.5247 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of SimCode: time 5e-07/0.004358, allocations: 0 / 0.5247 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.001578/0.005936, allocations: 323.5 kB / 0.525 GB, free: 14.07 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.8020954048261046]