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.001818/0.001818, allocations: 93.47 kB / 19.44 MB, free: 336 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.00198/0.00198, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 178] 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 1.404/1.404, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 178] 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.914e-06/1.914e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.321e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003379/0.003412, allocations: 1.46 MB / 0.5211 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.003739, allocations: 88.55 kB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.003766, allocations: 3.938 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.003836, allocations: 4.906 kB / 0.5211 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.003876, allocations: 3.984 kB / 0.5212 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.004157, allocations: 16.61 kB / 0.5212 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.004236, allocations: 27.91 kB / 0.5212 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.004322, allocations: 4.969 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.041e-05/0.004372, allocations: 15.92 kB / 0.5212 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.004407, allocations: 9.75 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.004423, allocations: 0 / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.00451, allocations: 15.97 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.004555, allocations: 11.98 kB / 0.5213 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.004574, allocations: 0 / 0.5213 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.00471, allocations: 52.31 kB / 0.5213 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.004713, allocations: 0.5 kB / 0.5213 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004714, allocations: 0 / 0.5213 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004719, allocations: 1.031 kB / 0.5213 GB, free: 0.8516 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005484/0.005267, allocations: 364.2 kB / 0.5216 GB, free: 468 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.005305, allocations: 9.25 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.005349, allocations: 4.938 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.005474, allocations: 108.6 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.005487, allocations: 1 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.005497, allocations: 4.375 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.005652, allocations: 47.77 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005662, allocations: 192 / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.00567, allocations: 384 / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.005675, allocations: 384 / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.005799, allocations: 32.77 kB / 0.5218 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.006227, allocations: 247.9 kB / 0.5221 GB, free: 15.95 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.006348, allocations: 40.05 kB / 0.5221 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.006417, allocations: 24.86 kB / 0.5221 GB, free: 15.87 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.006458, allocations: 0 / 0.5221 GB, free: 15.87 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.0065, allocations: 41.33 kB / 0.5222 GB, free: 15.82 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.006501, allocations: 0.875 kB / 0.5222 GB, free: 15.82 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2): time 0.0003076/0.006808, allocations: 70.14 kB / 0.5223 GB, free: 15.75 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.006875, allocations: 52.16 kB / 0.5223 GB, free: 15.68 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.00702, allocations: 169.9 kB / 0.5225 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.007039, allocations: 30.36 kB / 0.5225 GB, free: 15.46 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.007128, allocations: 134.9 kB / 0.5226 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.007145, allocations: 4.453 kB / 0.5226 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.007186, allocations: 24.22 kB / 0.5227 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002679/0.007454, allocations: 496.1 kB / 0.5231 GB, free: 14.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.007511, allocations: 14.94 kB / 0.5231 GB, free: 14.79 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.007555, allocations: 11.98 kB / 0.5232 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.007658, allocations: 31.61 kB / 0.5232 GB, free: 14.74 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00766, allocations: 0 / 0.5232 GB, free: 14.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001657/0.007826, allocations: 58.7 kB / 0.5232 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.00784, allocations: 4 kB / 0.5232 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.007847, allocations: 3.938 kB / 0.5232 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.007861, allocations: 0.5625 kB / 0.5232 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.00794, allocations: 12.55 kB / 0.5233 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.007945, allocations: 0 / 0.5233 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.007979, allocations: 8.875 kB / 0.5233 GB, free: 14.65 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.007985, allocations: 0 / 0.5233 GB, free: 14.65 MB / 0.4949 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 0.0001236/0.008108, allocations: 158 kB / 0.5234 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.008131, allocations: 0 / 0.5234 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.008316, allocations: 73.17 kB / 0.5235 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008317, allocations: 1.531 kB / 0.5235 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.008323, allocations: 3.984 kB / 0.5235 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.008326, allocations: 0 / 0.5235 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.008492, allocations: 120.6 kB / 0.5236 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008493, allocations: 0.5 kB / 0.5236 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.008534, allocations: 5.25 kB / 0.5236 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008535, allocations: 0 / 0.5236 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.008545, allocations: 3.984 kB / 0.5236 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.008549, allocations: 6.688 kB / 0.5236 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.00855, allocations: 0 / 0.5236 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.008822, allocations: 207.8 kB / 0.5238 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.008828, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.008843, allocations: 4.25 kB / 0.5238 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.008911, allocations: 15.92 kB / 0.5238 GB, free: 14 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.008953, allocations: 2.406 kB / 0.5238 GB, free: 14 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.008956, allocations: 0 / 0.5238 GB, free: 14 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.009043, allocations: 139.1 kB / 0.524 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.009043, allocations: 0 / 0.524 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002092/0.009252, allocations: 4 kB / 0.524 GB, free: 13.86 MB / 0.4949 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 0.0001707/0.009423, allocations: 95.94 kB / 0.5241 GB, free: 13.75 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.009598, allocations: 32.64 kB / 0.5241 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0096, allocations: 0 / 0.5241 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.009691, allocations: 28.27 kB / 0.5241 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.009927, allocations: 7.438 kB / 0.5241 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.01025, allocations: 122.2 kB / 0.5243 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.01033, allocations: 63.34 kB / 0.5243 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.01035, allocations: 0 / 0.5243 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.01038, allocations: 12.5 kB / 0.5243 GB, free: 13.44 MB / 0.4949 GB Notification: Performance of SimCode: time 4.51e-07/0.01038, allocations: 0 / 0.5243 GB, free: 13.44 MB / 0.4949 GB Notification: Performance of Templates: time 0.003697/0.01408, allocations: 0.5546 MB / 0.5249 GB, free: 12.91 MB / 0.4949 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: 6.336669660056941]