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.0007361/0.0007361, allocations: 72.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.000758/0.000758, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7053/0.7053, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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.463e-06/1.463e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.792e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002087/0.002114, allocations: 1.466 MB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.002388, allocations: 83.81 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.002417, allocations: 4 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.002479, allocations: 3.938 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.002515, allocations: 0 / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.002778, allocations: 15.97 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.002848, allocations: 27.86 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.002935, allocations: 4 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.002969, allocations: 11.98 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.003, allocations: 11.98 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.003018, allocations: 7.938 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.003088, allocations: 19.97 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.003129, allocations: 11.94 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.003145, allocations: 0 / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003265, allocations: 43.81 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003268, allocations: 0 / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003269, allocations: 0 / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.003273, allocations: 0 / 0.621 GB, free: 11.45 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003483/0.003622, allocations: 266.3 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.003658, allocations: 12.03 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.003688, allocations: 4.938 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.003769, allocations: 109.8 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003778, allocations: 384 / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.003788, allocations: 8.312 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.003921, allocations: 50.23 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.003929, allocations: 192 / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.003938, allocations: 4.359 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003943, allocations: 384 / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.004033, allocations: 47.84 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.004302, allocations: 196.6 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.004389, allocations: 38.55 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.004436, allocations: 24.91 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.004468, allocations: 4 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.004488, allocations: 30.56 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.004489, allocations: 0 / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002147/0.004703, allocations: 97.52 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.004731, allocations: 51.41 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.004792, allocations: 105.8 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.004801, allocations: 25.7 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.00484, allocations: 88.14 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.004855, allocations: 3.953 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.004882, allocations: 21.7 kB / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.004955, allocations: 314.8 kB / 0.6224 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.004998, allocations: 20.11 kB / 0.6225 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.005035, allocations: 19.97 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.005118, allocations: 40.83 kB / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00512, allocations: 3.938 kB / 0.6225 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.005224, allocations: 73.67 kB / 0.6226 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005236, allocations: 8 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.005242, allocations: 3.938 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.005254, allocations: 0 / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.005315, allocations: 8.234 kB / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.00532, allocations: 7.938 kB / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.005345, allocations: 15.94 kB / 0.6226 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.005351, allocations: 7.969 kB / 0.6226 GB, free: 9.59 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 (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.314e-05/0.005404, allocations: 106.8 kB / 0.6227 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.005417, allocations: 8.031 kB / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.00555, allocations: 85.11 kB / 0.6228 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005551, allocations: 0 / 0.6228 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.005556, allocations: 3.938 kB / 0.6228 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005559, allocations: 0 / 0.6228 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797e-05/0.005647, allocations: 109.3 kB / 0.6229 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005648, allocations: 0 / 0.6229 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.005676, allocations: 11.98 kB / 0.623 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.005679, allocations: 4.031 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.005685, allocations: 0 / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.005688, allocations: 3.938 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.005689, allocations: 0 / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.005817, allocations: 167.5 kB / 0.6231 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.005823, allocations: 4 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.005832, allocations: 0 / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.005868, allocations: 15.86 kB / 0.6231 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.005901, allocations: 0 / 0.6231 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.005903, allocations: 4.031 kB / 0.6231 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.005935, allocations: 91.27 kB / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005935, allocations: 0 / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001553/0.006091, allocations: 4 kB / 0.6232 GB, free: 8.922 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 (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.0001184/0.006209, allocations: 95.25 kB / 0.6233 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.006334, allocations: 39.95 kB / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006335, allocations: 0 / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.006374, allocations: 24.05 kB / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.006589, allocations: 7.969 kB / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.006849, allocations: 142.5 kB / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.006898, allocations: 63.34 kB / 0.6236 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.00692, allocations: 8.5 kB / 0.6236 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.00692, allocations: 0 / 0.6236 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of Templates: time 0.001696/0.008616, allocations: 0.6732 MB / 0.6243 GB, free: 7.812 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9293839279562235] Failed to read output from testmodel.py, exit status != 0: 0.014266358688473701 0.022155031000000002 0.017296988000000003 Calling exit ...