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.001257/0.001257, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001629/0.001629, allocations: 166.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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-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 1.228/1.228, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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.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.933e-06/1.933e-06, allocations: 0 / 0.6186 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.713e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001556/0.001583, allocations: 0.5863 MB / 0.6192 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002211/0.001804, allocations: 31.89 kB / 0.6192 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.001823, allocations: 0 / 0.6192 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.001841, allocations: 0 / 0.6192 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-06/0.001847, allocations: 0 / 0.6192 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.002153, allocations: 15.86 kB / 0.6193 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.002198, allocations: 0.5938 kB / 0.6193 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.00225, allocations: 5.969 kB / 0.6193 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.002276, allocations: 0 / 0.6193 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.616e-05/0.002303, allocations: 7.969 kB / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.002317, allocations: 0 / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-05/0.002397, allocations: 15.98 kB / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.002406, allocations: 0 / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002424, allocations: 8 kB / 0.6193 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.002521, allocations: 11.97 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.002524, allocations: 0 / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002525, allocations: 0 / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.002537, allocations: 0 / 0.6193 GB, free: 3.812 MB / 0.5294 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.0003578/0.002895, allocations: 238.4 kB / 0.6195 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.00294, allocations: 12.03 kB / 0.6195 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.00297, allocations: 0.9375 kB / 0.6195 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.003081, allocations: 109.8 kB / 0.6196 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-06/0.00309, allocations: 384 / 0.6196 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.003102, allocations: 4.375 kB / 0.6197 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.003214, allocations: 38.2 kB / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.003226, allocations: 192 / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.003236, allocations: 4.312 kB / 0.6197 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.00324, allocations: 384 / 0.6197 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.003262, allocations: 7.938 kB / 0.6197 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.003411, allocations: 105.2 kB / 0.6198 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.476e-05/0.003466, allocations: 18.61 kB / 0.6198 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.003489, allocations: 8.844 kB / 0.6198 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.003525, allocations: 0 / 0.6198 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.003553, allocations: 42.56 kB / 0.6199 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.003553, allocations: 0 / 0.6199 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001466/0.0037, allocations: 33.7 kB / 0.6199 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.003753, allocations: 51.41 kB / 0.62 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.845e-05/0.003802, allocations: 89.86 kB / 0.62 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.003821, allocations: 29.7 kB / 0.6201 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.003864, allocations: 80.14 kB / 0.6201 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.0039, allocations: 0 / 0.6201 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.00393, allocations: 13.7 kB / 0.6202 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.004078, allocations: 318.8 kB / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.00409, allocations: 128 / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.004096, allocations: 4 kB / 0.6205 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.004126, allocations: 16.8 kB / 0.6205 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004128, allocations: 0 / 0.6205 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.548e-05/0.004183, allocations: 33.7 kB / 0.6205 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.004196, allocations: 4 kB / 0.6205 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.004204, allocations: 3.984 kB / 0.6205 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.004219, allocations: 0 / 0.6205 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.004278, allocations: 4 kB / 0.6205 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.004283, allocations: 0 / 0.6205 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.004298, allocations: 8.031 kB / 0.6205 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.004309, allocations: 0 / 0.6205 GB, free: 2.383 MB / 0.5294 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 8.679e-05/0.004396, allocations: 111.7 kB / 0.6206 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.004402, allocations: 0 / 0.6206 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.00451, allocations: 44.62 kB / 0.6207 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004511, allocations: 0 / 0.6207 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.004518, allocations: 4 kB / 0.6207 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.00452, allocations: 4.031 kB / 0.6207 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.004658, allocations: 97.27 kB / 0.6208 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004659, allocations: 0 / 0.6208 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.004676, allocations: 4 kB / 0.6208 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.00468, allocations: 3.984 kB / 0.6208 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.004686, allocations: 3.938 kB / 0.6208 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004686, allocations: 0 / 0.6208 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.004687, allocations: 0 / 0.6208 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.834e-05/0.004775, allocations: 72.95 kB / 0.6209 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.004779, allocations: 0 / 0.6209 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.004792, allocations: 3.984 kB / 0.6209 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.004806, allocations: 8.031 kB / 0.6209 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.004825, allocations: 0 / 0.6209 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.004828, allocations: 0 / 0.6209 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.004865, allocations: 75.28 kB / 0.6209 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.004865, allocations: 0 / 0.6209 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002033/0.005068, allocations: 4 kB / 0.6209 GB, free: 1.895 MB / 0.5294 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.0001762/0.005244, allocations: 99.19 kB / 0.621 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.604e-05/0.00532, allocations: 4 kB / 0.621 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005322, allocations: 64 / 0.621 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.005338, allocations: 15.98 kB / 0.6211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.005466, allocations: 0 / 0.6211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.005685, allocations: 84.8 kB / 0.6211 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.005736, allocations: 51.36 kB / 0.6212 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.005758, allocations: 4 kB / 0.6212 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.005787, allocations: 12.56 kB / 0.6212 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.005788, allocations: 0 / 0.6212 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.002746/0.008534, allocations: 281.1 kB / 0.6215 GB, free: 1.297 MB / 0.5294 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.733086250722408] Failed to read output from testmodel.py, exit status != 0: 0.01665670797228813 0.032467097 0.027008338000000003 Calling exit ...