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.001367/0.001367, 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.001549/0.001549, allocations: 173.3 kB / 23.02 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.9356/0.9356, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.83/0.83, 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.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 2.254e-06/2.254e-06, allocations: 3.938 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.024e-05/4.249e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003558/0.0036, allocations: 1.488 MB / 0.5218 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004367/0.004037, allocations: 87.5 kB / 0.5219 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.004074, allocations: 0 / 0.5219 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.503e-05/0.004159, allocations: 1.75 kB / 0.5219 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/0.004215, allocations: 6.281 kB / 0.5219 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.004608, allocations: 19.92 kB / 0.5219 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.004732, allocations: 28.78 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.004878, allocations: 4.75 kB / 0.5219 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.004975, allocations: 21.33 kB / 0.5219 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.005028, allocations: 0 / 0.5219 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.005054, allocations: 4 kB / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.005174, allocations: 23.91 kB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.005226, allocations: 9.328 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.005253, allocations: 7.938 kB / 0.522 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.005407, allocations: 27.95 kB / 0.522 GB, free: 500 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.00541, allocations: 4 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005412, allocations: 1.688 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.005417, allocations: 0 / 0.522 GB, free: 496 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.0004673/0.005885, allocations: 360.6 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.005938, allocations: 8.031 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.005996, allocations: 7.156 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.006148, allocations: 120.5 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.006165, allocations: 384 / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.006178, allocations: 384 / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.006383, allocations: 54.95 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.006393, allocations: 192 / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.006405, allocations: 0.9375 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.006416, allocations: 0.9375 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.006466, allocations: 7.938 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.006908, allocations: 252.8 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/0.006998, allocations: 31 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.007032, allocations: 16.2 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-05/0.007096, allocations: 9.422 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.007129, allocations: 37.33 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.007131, allocations: 0 / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002078/0.007339, allocations: 38.58 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.007387, allocations: 59.34 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.0075, allocations: 167.5 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.007515, allocations: 25.7 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.007581, allocations: 130.9 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.007607, allocations: 7.891 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.007651, allocations: 24.41 kB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.007824, allocations: 496.1 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.007848, allocations: 4.25 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.007862, allocations: 0.6875 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.007907, allocations: 20.97 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.00791, allocations: 0 / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.999e-05/0.00801, allocations: 50.2 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.00803, allocations: 4 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.008036, allocations: 4.906 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.008054, allocations: 0 / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.008166, allocations: 4 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.008173, allocations: 3.25 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.008203, allocations: 7.984 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.008209, allocations: 0 / 0.5239 GB, free: 14.38 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 8.935e-05/0.008299, allocations: 160.6 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.008326, allocations: 0 / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.008466, allocations: 52.84 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.008469, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.008474, allocations: 3.031 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008478, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.008631, allocations: 120.6 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.008634, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.00869, allocations: 7.938 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.008695, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.008703, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.008708, allocations: 3.938 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008709, allocations: 1.5 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.008868, allocations: 187.9 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.008876, allocations: 3.938 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.008891, allocations: 8 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.008959, allocations: 4.438 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.009006, allocations: 10.58 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.009011, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.009063, allocations: 127.2 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.009063, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002493/0.009312, allocations: 4 kB / 0.5245 GB, free: 13.64 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 0.0001868/0.009499, allocations: 109.6 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.009617, allocations: 15.69 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.009619, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/0.009646, allocations: 11.69 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.009909, allocations: 3.984 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.01026, allocations: 126 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.194e-05/0.0103, allocations: 55.36 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.01032, allocations: 1.031 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.01035, allocations: 16.44 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/0.01035, allocations: 0 / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.002965/0.01331, allocations: 0.5922 MB / 0.5255 GB, free: 12.68 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.811931828968227]