Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001377/0.001377, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00157/0.00157, allocations: 221.5 kB / 23 MB, free: 4.906 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1483/0.1483, allocations: 23.88 MB / 337.1 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.91 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 59.86 MB / 0.5197 GB, free: 9.793 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction): time 0.07532/0.4289, allocations: 24.82 MB / 0.544 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4411, allocations: 7.059 MB / 0.5509 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.4419, allocations: 11.88 kB / 0.5509 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.4429, allocations: 173.9 kB / 0.5511 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.446, allocations: 0.7019 MB / 0.5517 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.4494, allocations: 1.043 MB / 0.5528 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.4512, allocations: 0.9434 MB / 0.5537 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.4518, allocations: 422 kB / 0.5541 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.4524, allocations: 468.9 kB / 0.5545 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.4532, allocations: 453 kB / 0.555 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.4533, allocations: 80 kB / 0.555 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.4559, allocations: 0.8179 MB / 0.5558 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.4562, allocations: 189.6 kB / 0.556 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.4566, allocations: 359.8 kB / 0.5564 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.4603, allocations: 1.82 MB / 0.5581 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4603, allocations: 0 / 0.5581 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4603, allocations: 0 / 0.5581 GB, free: 2.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.4604, allocations: 0 / 0.5581 GB, free: 2.008 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002291/0.4626, allocations: 1.112 MB / 0.5592 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4627, allocations: 8.031 kB / 0.5592 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.4634, allocations: 158.5 kB / 0.5594 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.4643, allocations: 422.7 kB / 0.5598 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.4644, allocations: 106.8 kB / 0.5599 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.4646, allocations: 76.27 kB / 0.56 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.466, allocations: 0.7804 MB / 0.5607 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.466, allocations: 0 / 0.5607 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.4661, allocations: 32.69 kB / 0.5608 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.4661, allocations: 16 kB / 0.5608 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.4676, allocations: 0.8696 MB / 0.5616 GB, free: 14.79 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.4717, allocations: 1.989 MB / 0.5636 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4732, allocations: 0.8085 MB / 0.5644 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/0.4737, allocations: 275.2 kB / 0.5646 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00354/0.4772, allocations: 1.504 MB / 0.5661 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.4773, allocations: 42.56 kB / 0.5661 GB, free: 10.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.485e-06/0.4773, allocations: 0 / 0.5661 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002792/0.4801, allocations: 1.166 MB / 0.5673 GB, free: 9.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.4801, allocations: 55.41 kB / 0.5673 GB, free: 8.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.4806, allocations: 405.7 kB / 0.5677 GB, free: 8.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.4807, allocations: 33.64 kB / 0.5677 GB, free: 8.508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.481, allocations: 392 kB / 0.5681 GB, free: 8.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.4812, allocations: 170.6 kB / 0.5683 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.4814, allocations: 126.6 kB / 0.5684 GB, free: 7.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.4816, allocations: 354.8 kB / 0.5687 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.4819, allocations: 149.9 kB / 0.5689 GB, free: 7.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.4824, allocations: 392.3 kB / 0.5692 GB, free: 6.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008869/0.4833, allocations: 0.5748 MB / 0.5698 GB, free: 6.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4833, allocations: 0 / 0.5698 GB, free: 6.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001051/0.4843, allocations: 0.6171 MB / 0.5704 GB, free: 5.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4844, allocations: 8 kB / 0.5704 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4844, allocations: 8.062 kB / 0.5704 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/0.4844, allocations: 19.94 kB / 0.5704 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.4852, allocations: 203.7 kB / 0.5706 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.4852, allocations: 15.94 kB / 0.5707 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.4855, allocations: 16 kB / 0.5707 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.4856, allocations: 39.98 kB / 0.5707 GB, free: 5.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0003026/0.4859, allocations: 205.6 kB / 0.5709 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.486, allocations: 55.59 kB / 0.571 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.487, allocations: 493.3 kB / 0.5714 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.487, allocations: 11.94 kB / 0.5714 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.487, allocations: 0 / 0.5714 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.487, allocations: 3.984 kB / 0.5714 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.4878, allocations: 482.5 kB / 0.5719 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.4878, allocations: 4 kB / 0.5719 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.4884, allocations: 140 kB / 0.572 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.4884, allocations: 4 kB / 0.572 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.4884, allocations: 16 kB / 0.5721 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.4885, allocations: 11.94 kB / 0.5721 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4885, allocations: 3.938 kB / 0.5721 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4896, allocations: 0.7225 MB / 0.5728 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.4898, allocations: 79.67 kB / 0.5729 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.4899, allocations: 16 kB / 0.5729 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.4901, allocations: 15.98 kB / 0.5729 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.4902, allocations: 40.31 kB / 0.5729 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.4902, allocations: 20 kB / 0.5729 GB, free: 2.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.4905, allocations: 259.2 kB / 0.5732 GB, free: 2.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4905, allocations: 0 / 0.5732 GB, free: 2.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001131/0.4917, allocations: 335.1 kB / 0.5735 GB, free: 2.254 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.000858/0.4925, allocations: 438 kB / 0.5739 GB, free: 1.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.4933, allocations: 418.6 kB / 0.5743 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4933, allocations: 4 kB / 0.5743 GB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.4936, allocations: 186.3 kB / 0.5745 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.4944, allocations: 140.1 kB / 0.5746 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.4965, allocations: 1.241 MB / 0.5759 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4969, allocations: 292.1 kB / 0.5761 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.4971, allocations: 91.39 kB / 0.5762 GB, free: 15.4 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4971, allocations: 0 / 0.5762 GB, free: 15.4 MB / 430.1 MB Notification: Performance of Templates: time 0.01646/0.5135, allocations: 9.551 MB / 0.5855 GB, free: 5.879 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.419051628094167] Failed to read output from testmodel.py, exit status != 0: 0.5231029572896659 0.539234284 0.07543717300000001 Calling exit ...