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.0007839/0.0007839, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007738/0.0007738, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9009/0.9009, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-531:686: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-531:694: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.7149/0.7149, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.703e-06/1.703e-06, allocations: 0 / 0.6194 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.224e-05, allocations: 5.234 kB / 0.6194 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001723/0.001756, allocations: 0.5917 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.002002, allocations: 19.91 kB / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-06/0.002011, allocations: 4 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.124e-06/0.002018, allocations: 0 / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.975e-06/0.002021, allocations: 0 / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.00217, allocations: 7.938 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 2.037e-05/0.00219, allocations: 7.938 kB / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 2.051e-05/0.002211, allocations: 11.97 kB / 0.62 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.084e-05/0.002222, allocations: 3.938 kB / 0.62 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-06/0.00223, allocations: 4 kB / 0.62 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.111e-06/0.002236, allocations: 0 / 0.62 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.002279, allocations: 11.98 kB / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.462e-06/0.002285, allocations: 0 / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-06/0.002295, allocations: 0 / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.169e-05/0.002356, allocations: 19.97 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002358, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002359, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002363, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB 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.0001811/0.002544, allocations: 234.4 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.002572, allocations: 12.02 kB / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.835e-05/0.00259, allocations: 8.938 kB / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.899e-05/0.002639, allocations: 109.8 kB / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-06/0.002646, allocations: 384 / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-06/0.00265, allocations: 384 / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.58e-05/0.002706, allocations: 34.2 kB / 0.6204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-06/0.00271, allocations: 192 / 0.6204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.002715, allocations: 384 / 0.6204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.002719, allocations: 384 / 0.6204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.294e-05/0.002732, allocations: 3.938 kB / 0.6204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.304e-05/0.002815, allocations: 101.3 kB / 0.6205 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 2.517e-05/0.00284, allocations: 18.58 kB / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.002852, allocations: 12.95 kB / 0.6206 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.002877, allocations: 0 / 0.6206 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.002894, allocations: 34.56 kB / 0.6206 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 4.01e-07/0.002894, allocations: 7.875 kB / 0.6206 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 7.811e-05/0.002972, allocations: 29.7 kB / 0.6206 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.003001, allocations: 55.39 kB / 0.6207 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.477e-05/0.003026, allocations: 89.86 kB / 0.6208 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.003034, allocations: 25.7 kB / 0.6208 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.003051, allocations: 80.14 kB / 0.6209 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.003071, allocations: 12.12 kB / 0.6209 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.003089, allocations: 9.719 kB / 0.6209 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.003161, allocations: 314.8 kB / 0.6212 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.003169, allocations: 4 kB / 0.6212 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.003173, allocations: 0 / 0.6212 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.003197, allocations: 12.8 kB / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003198, allocations: 0 / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.052e-05/0.003229, allocations: 37.69 kB / 0.6213 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.003239, allocations: 8 kB / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.003243, allocations: 96 / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.003252, allocations: 7.938 kB / 0.6213 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.181e-05/0.003284, allocations: 0 / 0.6213 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.003289, allocations: 4 kB / 0.6213 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.214e-06/0.003297, allocations: 3.938 kB / 0.6213 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.003307, allocations: 0 / 0.6213 GB, free: 10.95 MB / 0.5886 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 4.646e-05/0.003354, allocations: 106.8 kB / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-06/0.003357, allocations: 4 kB / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.003422, allocations: 52.58 kB / 0.6214 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-07/0.003423, allocations: 0 / 0.6214 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.003426, allocations: 0 / 0.6214 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.003428, allocations: 0 / 0.6214 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.225e-05/0.003471, allocations: 109.2 kB / 0.6215 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.003471, allocations: 0 / 0.6215 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-06/0.003477, allocations: 0 / 0.6215 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.003478, allocations: 4 kB / 0.6215 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.003482, allocations: 0 / 0.6215 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003483, allocations: 0 / 0.6215 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.003483, allocations: 0 / 0.6215 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.765e-05/0.003521, allocations: 65.09 kB / 0.6216 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-06/0.003524, allocations: 7.891 kB / 0.6216 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.003533, allocations: 7.938 kB / 0.6216 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-06/0.003537, allocations: 0 / 0.6216 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.003548, allocations: 4 kB / 0.6216 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.00355, allocations: 0 / 0.6216 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.791e-05/0.003568, allocations: 75.28 kB / 0.6217 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003568, allocations: 0 / 0.6217 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001184/0.003686, allocations: 4 kB / 0.6217 GB, free: 10.45 MB / 0.5886 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.0001044/0.003791, allocations: 107.2 kB / 0.6218 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.947e-05/0.00384, allocations: 4 kB / 0.6218 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.003842, allocations: 0 / 0.6218 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-06/0.003845, allocations: 0 / 0.6218 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.677e-05/0.003932, allocations: 7.938 kB / 0.6218 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.004082, allocations: 98.72 kB / 0.6219 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.004113, allocations: 59.34 kB / 0.622 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.00413, allocations: 8.5 kB / 0.622 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of SimCode: time 4.4e-07/0.004131, allocations: 4.125 kB / 0.622 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of Templates: time 0.001172/0.005302, allocations: 447.8 kB / 0.6224 GB, free: 9.668 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.11723046656698] Failed to read output from testmodel.py, exit status != 0: 0.011873019859194756 0.018827134000000002 0.014589067 Calling exit ...