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.001051/0.001051, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001203/0.001203, allocations: 169 kB / 23.27 MB, free: 1.223 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.9619/0.9619, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7538/0.7538, allocations: 154.6 MB / 414.8 MB, free: 0.5547 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.242e-06/1.242e-06, allocations: 0.7656 kB / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.088e-05, allocations: 4.172 kB / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002092/0.002113, allocations: 1.481 MB / 0.5222 GB, free: 408 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.002356, allocations: 88.59 kB / 0.5223 GB, free: 320 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.002385, allocations: 0 / 0.5223 GB, free: 320 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.489e-05/0.00245, allocations: 3.938 kB / 0.5223 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.002487, allocations: 4.859 kB / 0.5223 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.00275, allocations: 19.97 kB / 0.5223 GB, free: 292 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.00282, allocations: 28.48 kB / 0.5224 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.00291, allocations: 4.688 kB / 0.5224 GB, free: 260 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.002953, allocations: 11.98 kB / 0.5224 GB, free: 248 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.002986, allocations: 9.25 kB / 0.5224 GB, free: 240 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003004, allocations: 3.938 kB / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.003089, allocations: 23.91 kB / 0.5224 GB, free: 212 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.003126, allocations: 13.73 kB / 0.5224 GB, free: 200 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.003142, allocations: 4 kB / 0.5224 GB, free: 196 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.74e-05/0.003239, allocations: 27.95 kB / 0.5225 GB, free: 168 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003241, allocations: 0 / 0.5225 GB, free: 168 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003242, allocations: 0 / 0.5225 GB, free: 168 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003245, allocations: 1.75 kB / 0.5225 GB, free: 168 kB / 490.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.000333/0.003579, allocations: 360.6 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.003618, allocations: 12.03 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.003642, allocations: 0.9375 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.003708, allocations: 121.3 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003716, allocations: 384 / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.003722, allocations: 384 / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.003812, allocations: 64.23 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.003818, allocations: 192 / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.003823, allocations: 384 / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.003831, allocations: 5.719 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.003848, allocations: 3.938 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.004039, allocations: 232.5 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.004074, allocations: 28.81 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.004089, allocations: 15.75 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.00412, allocations: 7.938 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.004138, allocations: 33.39 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004139, allocations: 2.188 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001024/0.004241, allocations: 41.62 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.004262, allocations: 51.41 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.004337, allocations: 169.9 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.004345, allocations: 25.7 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.004385, allocations: 135.4 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.004401, allocations: 7.891 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.004424, allocations: 15.94 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.004528, allocations: 0.4894 MB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.004539, allocations: 3.938 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.004547, allocations: 4 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.247e-05/0.004569, allocations: 17.56 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004571, allocations: 0 / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.831e-05/0.004619, allocations: 37.66 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.00463, allocations: 7.125 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.004635, allocations: 3.984 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.004646, allocations: 7.922 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.004697, allocations: 9.531 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.004699, allocations: 0 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.004715, allocations: 0 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.004718, allocations: 3.938 kB / 0.5243 GB, free: 14.09 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 (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 5.376e-05/0.004772, allocations: 157.6 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.004787, allocations: 7.984 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.004854, allocations: 44.17 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.004858, allocations: 7.922 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.004859, allocations: 0 / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004861, allocations: 3.938 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.521e-05/0.004947, allocations: 105.2 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004948, allocations: 0 / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.00497, allocations: 7.984 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.004971, allocations: 0 / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-06/0.004976, allocations: 3.281 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.004977, allocations: 4 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004978, allocations: 0 / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.272e-05/0.005061, allocations: 191.8 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.005067, allocations: 3.984 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.005075, allocations: 4 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.718e-05/0.005102, allocations: 4 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.005124, allocations: 1.5 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005128, allocations: 7.938 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.00516, allocations: 127.2 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.3e-07/0.005161, allocations: 0 / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001355/0.005296, allocations: 4.5 kB / 0.525 GB, free: 13.37 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 (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 9.328e-05/0.005389, allocations: 97.91 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.383e-05/0.005443, allocations: 27.59 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005445, allocations: 0 / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.005457, allocations: 11.69 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.005613, allocations: 10.44 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.005799, allocations: 114.2 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.005829, allocations: 63.28 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.314e-05/0.005842, allocations: 0 / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.00588, allocations: 75.8 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.005881, allocations: 0 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.002195/0.008076, allocations: 0.6068 MB / 0.5259 GB, free: 12.33 MB / 0.4948 GB " [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.7364032566547394]