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.001399/0.001399, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001534/0.001534, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1516/0.1516, allocations: 23.88 MB / 337.1 MB, free: 11 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.002055/0.002055, allocations: 67.89 kB / 472.4 MB, free: 7.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3792, allocations: 59.86 MB / 0.5197 GB, free: 9.805 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.07225/0.4515, allocations: 24.66 MB / 0.5438 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.4626, allocations: 7.051 MB / 0.5507 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007652/0.4634, allocations: 11.88 kB / 0.5507 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006914/0.4641, allocations: 174 kB / 0.5509 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.4662, allocations: 0.6945 MB / 0.5516 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.4695, allocations: 1.051 MB / 0.5526 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.4709, allocations: 0.9329 MB / 0.5535 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.4716, allocations: 448.4 kB / 0.5539 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.4721, allocations: 464.7 kB / 0.5544 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007616/0.4729, allocations: 0.4973 MB / 0.5549 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.473, allocations: 80 kB / 0.5549 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.4754, allocations: 0.8408 MB / 0.5558 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.4757, allocations: 194.2 kB / 0.5559 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.4761, allocations: 354.7 kB / 0.5563 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.4798, allocations: 1.817 MB / 0.5581 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4798, allocations: 0 / 0.5581 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4798, allocations: 0 / 0.5581 GB, free: 2.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4798, allocations: 4 kB / 0.5581 GB, free: 2.078 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.002393/0.4822, allocations: 1.116 MB / 0.5591 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4823, allocations: 12.03 kB / 0.5592 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/0.483, allocations: 157.8 kB / 0.5593 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.4839, allocations: 419.1 kB / 0.5597 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.484, allocations: 110.7 kB / 0.5598 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.4841, allocations: 68.33 kB / 0.5599 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.4856, allocations: 0.7837 MB / 0.5606 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4856, allocations: 0.7031 kB / 0.5606 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.4857, allocations: 24 kB / 0.5607 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.4857, allocations: 16 kB / 0.5607 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.4873, allocations: 0.8659 MB / 0.5615 GB, free: 14.88 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.004073/0.4914, allocations: 1.989 MB / 0.5635 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.4929, allocations: 0.8084 MB / 0.5643 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.4933, allocations: 279.2 kB / 0.5645 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003295/0.4966, allocations: 1.504 MB / 0.566 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.4967, allocations: 42.5 kB / 0.566 GB, free: 10.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.4967, allocations: 0 / 0.566 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002557/0.4992, allocations: 1.17 MB / 0.5672 GB, free: 9.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4993, allocations: 55.41 kB / 0.5672 GB, free: 9.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.4998, allocations: 401.7 kB / 0.5676 GB, free: 8.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.4998, allocations: 33.7 kB / 0.5676 GB, free: 8.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.5001, allocations: 384 kB / 0.568 GB, free: 8.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.5003, allocations: 174.5 kB / 0.5682 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.5004, allocations: 126.6 kB / 0.5683 GB, free: 7.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.5007, allocations: 354.8 kB / 0.5686 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.501, allocations: 149.9 kB / 0.5688 GB, free: 7.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.5015, allocations: 400.3 kB / 0.5692 GB, free: 6.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.5023, allocations: 0.5746 MB / 0.5697 GB, free: 6.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5023, allocations: 0 / 0.5697 GB, free: 6.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001063/0.5034, allocations: 0.6207 MB / 0.5703 GB, free: 5.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5034, allocations: 8 kB / 0.5703 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.5035, allocations: 8 kB / 0.5703 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.5035, allocations: 15.94 kB / 0.5704 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.5042, allocations: 204.2 kB / 0.5706 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.5043, allocations: 15.94 kB / 0.5706 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.5045, allocations: 19.98 kB / 0.5706 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.5046, allocations: 36 kB / 0.5706 GB, free: 5.297 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.0002952/0.5049, allocations: 209.6 kB / 0.5708 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.505, allocations: 51.67 kB / 0.5709 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00098/0.506, allocations: 497.2 kB / 0.5713 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.506, allocations: 11.94 kB / 0.5714 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.506, allocations: 0 / 0.5714 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.506, allocations: 7.922 kB / 0.5714 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.5067, allocations: 478.6 kB / 0.5718 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5067, allocations: 4 kB / 0.5718 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.5073, allocations: 139.8 kB / 0.572 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5073, allocations: 4 kB / 0.572 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.5074, allocations: 20.12 kB / 0.572 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5074, allocations: 0 / 0.572 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5074, allocations: 7.938 kB / 0.572 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.5085, allocations: 0.7225 MB / 0.5727 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.5087, allocations: 79.77 kB / 0.5728 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.5088, allocations: 19.97 kB / 0.5728 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.509, allocations: 12 kB / 0.5728 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.5091, allocations: 40.31 kB / 0.5728 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.5091, allocations: 20 kB / 0.5729 GB, free: 2.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.5094, allocations: 259.2 kB / 0.5731 GB, free: 2.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5094, allocations: 4 kB / 0.5731 GB, free: 2.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001051/0.5104, allocations: 339 kB / 0.5734 GB, free: 2.328 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.0008262/0.5113, allocations: 433.9 kB / 0.5738 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007469/0.512, allocations: 422.5 kB / 0.5743 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.512, allocations: 0 / 0.5743 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.5123, allocations: 182.4 kB / 0.5744 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.5131, allocations: 133.9 kB / 0.5746 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5151, allocations: 1.215 MB / 0.5757 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.5154, allocations: 296.1 kB / 0.576 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003771/0.5158, allocations: 120.4 kB / 0.5761 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.5159, allocations: 75.41 kB / 0.5762 GB, free: 15.42 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5159, allocations: 0 / 0.5762 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Templates: time 0.01933/0.5353, allocations: 11.16 MB / 0.5871 GB, free: 4.363 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.437907979998272] Failed to read output from testmodel.py, exit status != 0: 0.5437310179986525 0.55864389 0.075641305 Calling exit ...